Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checking docker container status on debian #258

Merged
merged 1 commit into from Mar 18, 2015

Conversation

fxposter
Copy link
Contributor

status_of_proc "$DAEMON" "$NAME" will actually check that ANY docker process is running, not the needed one.

@fxposter fxposter force-pushed the sysv-status-fixes branch 2 times, most recently from 76f871d to e9c5d43 Compare February 12, 2015 15:00
@bflad
Copy link
Contributor

bflad commented Mar 18, 2015

Manually verified functionality on 1.5:

docker inspect -f '{{.State.Running}}' foobar
Error: No such image or container: foobar
docker inspect -f '{{.State.Running}}' jenkins
true

Thanks for the fix!

bflad added a commit that referenced this pull request Mar 18, 2015
Fix checking docker container status on debian
@bflad bflad merged commit 969f120 into sous-chefs:master Mar 18, 2015
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.

None yet

2 participants