Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Use docker stop instead of docker kill #512

Merged
merged 1 commit into from
Apr 1, 2015

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Apr 1, 2015

The difference is that docker stop sends SIGTERM first, whereas docker kill just sends SIGKILL, and the latter cannot be caught by a process. Although we don't presently know of anything that needs to shut down nicely, it seems better to use the variant that permits it.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 33.43% when pulling 05b7162 on bboreham:stop_not_kill into a152d24 on zettio:master.

@rade
Copy link
Member

rade commented Apr 1, 2015

The reason we use 'kill' is that in the past we frequently saw 'stop' not terminating. Might have been this problem, in which case it's fixed in recent kernels.

rade added a commit that referenced this pull request Apr 1, 2015
Use docker stop instead of docker kill
@rade rade merged commit e66225c into weaveworks:master Apr 1, 2015
@rade rade removed the in progress label Apr 1, 2015
@rade rade modified the milestone: 0.10.0 Apr 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants