{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/10032","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/10032/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/10032/comments","events_url":"https://api.github.com/repos/moby/moby/issues/10032/events","html_url":"https://github.com/moby/moby/issues/10032","id":54004843,"node_id":"MDU6SXNzdWU1NDAwNDg0Mw==","number":10032,"title":"Clarification on how to stop containers with --restart=always","user":{"login":"hamiltont","id":305380,"node_id":"MDQ6VXNlcjMwNTM4MA==","avatar_url":"https://avatars0.githubusercontent.com/u/305380?v=4","gravatar_id":"","url":"https://api.github.com/users/hamiltont","html_url":"https://github.com/hamiltont","followers_url":"https://api.github.com/users/hamiltont/followers","following_url":"https://api.github.com/users/hamiltont/following{/other_user}","gists_url":"https://api.github.com/users/hamiltont/gists{/gist_id}","starred_url":"https://api.github.com/users/hamiltont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamiltont/subscriptions","organizations_url":"https://api.github.com/users/hamiltont/orgs","repos_url":"https://api.github.com/users/hamiltont/repos","events_url":"https://api.github.com/users/hamiltont/events{/privacy}","received_events_url":"https://api.github.com/users/hamiltont/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2015-01-11T21:04:47Z","updated_at":"2018-11-07T11:12:41Z","closed_at":"2015-01-14T19:37:50Z","author_association":"NONE","body":"What's the recommended way to terminate (permanently) containers that were started with `--restart=always`? If I kill them and then restart the daemon, they come back. If I kill them, remove that container and it's image, then they stay dead. Is this intended behavior? Is there an easier way to say \"kill and don't restart\"?\n"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/436589926","html_url":"https://github.com/moby/moby/issues/10032#issuecomment-436589926","issue_url":"https://api.github.com/repos/moby/moby/issues/10032","id":436589926,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU4OTkyNg==","user":{"login":"gonvaled","id":224267,"node_id":"MDQ6VXNlcjIyNDI2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/224267?v=4","gravatar_id":"","url":"https://api.github.com/users/gonvaled","html_url":"https://github.com/gonvaled","followers_url":"https://api.github.com/users/gonvaled/followers","following_url":"https://api.github.com/users/gonvaled/following{/other_user}","gists_url":"https://api.github.com/users/gonvaled/gists{/gist_id}","starred_url":"https://api.github.com/users/gonvaled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonvaled/subscriptions","organizations_url":"https://api.github.com/users/gonvaled/orgs","repos_url":"https://api.github.com/users/gonvaled/repos","events_url":"https://api.github.com/users/gonvaled/events{/privacy}","received_events_url":"https://api.github.com/users/gonvaled/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T11:12:41Z","updated_at":"2018-11-07T11:12:41Z","author_association":"NONE","body":"Stopping a container with `restart=always` is inconsistent:\r\n\r\n- containers which have managed to start normally will indeed be stopped (until manually restarted, or the daemon is restarted)\r\n- containers which are stuck in a restart loop (because they are failing to start-up) will **NOT** be stopped\r\n\r\nMore details here: https://stackoverflow.com/q/53003404/647991\r\n"}}
{"actor":{"display_login":"gonvaled"}}