ezsystems / launchpad

CLI tool to bootstrap an eZ Platform project Docker stack | #justcode
https://ezsystems.github.io/launchpad
MIT License
22 stars 27 forks source link

Check if docker is alive before starting "init" wizard #57

Closed andrerom closed 3 years ago

andrerom commented 5 years ago
Q A
Bug report? yes, or rather DX improvment
Feature request? no
BC Break report? no
RFC? no
Version x.y.z
Environment Mac/Windows

To avoid having to redo all steps if you forget to start docker server.

Probably most relevant for Windows and Mac, as this can happen if Docker server/app is stopped/paused.

Unsure which command is best to check against, but here is one possible:

$ docker system info
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?