mirror of
https://github.com/docker/compose.git
synced 2025-07-20 12:14:41 +02:00
Show more helpful error message when Docker is not running. Fixes #6175
Signed-off-by: Heath Milligan <heath@pyratron.com>
This commit is contained in:
parent
7208a50bdc
commit
abf67565f6
@ -67,7 +67,9 @@ def handle_connection_errors(client):
|
|||||||
|
|
||||||
|
|
||||||
def log_windows_pipe_error(exc):
|
def log_windows_pipe_error(exc):
|
||||||
if exc.winerror == 232: # https://github.com/docker/compose/issues/5005
|
if exc.winerror == 2:
|
||||||
|
log.error("Couldn't connect to Docker daemon. You might need to start Docker for Windows.")
|
||||||
|
elif exc.winerror == 232: # https://github.com/docker/compose/issues/5005
|
||||||
log.error(
|
log.error(
|
||||||
"The current Compose file version is not compatible with your engine version. "
|
"The current Compose file version is not compatible with your engine version. "
|
||||||
"Please upgrade your Compose file to a more recent version, or set "
|
"Please upgrade your Compose file to a more recent version, or set "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user