Skip to content

Conversation

@kevinroleke
Copy link

On systemd machines without the service command available, docker will always appear to not be running.

The file script/common/os/linux/impl.sh will attempt to run the following command to check the status of docker:

sudo systemctl docker status # this returns an error, always--the arguments are in the wrong order

I suggest we use docker info instead. This command will return an error code if docker is inactive and success if docker is active. Alternatively, the arguments should be properly arranged for service vs systemctl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants