vectara/vectara-answer

Improve error message when Docker isn't running

Closed this issue · 4 comments

If you try to run bash docker/run.sh config/brian default when Docker isn't defined, you get this error message:

Error response from daemon: Bad response from Docker engine
docker: Error response from daemon: Bad response from Docker engine.
See 'docker run --help'.

Ideally, we should throw a custom error message if Docker isn't running. The script should also exit so we don't attempt to open a tab at localhost.

@cjcenizal Can I work on this issue?

Thanks for volunteering @SaptarshiSarkar12 ! @ofermend WDYT?

Yes, sounds good. Thanks!

@cjcenizal @ofermend Thank you. Can you please assign this issue to me? I will start working on it.