hmcts / flex-ui

A collection of tools to help speed up development of ExUI.
MIT License
0 stars 1 forks source link

Print a more friendly message when docker desktop not running correctly #75

Closed Itay-Kirsh closed 1 year ago

Itay-Kirsh commented 1 year ago

What would you like to change?

If trying to run docker commands when docker desktop is not running, we get an error stack printed to the console when dockerCommon tries to getWslUptimeContainerIP. I would like a nicer message to be printed, saying there's an issue with connection between wsl and docker desktop and to please restart docker desktop.

How do you think that would improve the project?

Make it easier for users to understand what has failed and what they can do about it.

If this entry is related to a bug, please provide the steps to reproduce it

Don't run docker desktop Try to do any docker commands like docker / ECM setup