{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2614","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2614/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2614/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2614/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/2614","id":120117504,"number":2614,"title":"Extend docker_module restart_policy to include unless-stopped","user":{"login":"anthonygreen","id":1336742,"avatar_url":"https://avatars.githubusercontent.com/u/1336742?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonygreen","html_url":"https://github.com/anthonygreen","followers_url":"https://api.github.com/users/anthonygreen/followers","following_url":"https://api.github.com/users/anthonygreen/following{/other_user}","gists_url":"https://api.github.com/users/anthonygreen/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonygreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonygreen/subscriptions","organizations_url":"https://api.github.com/users/anthonygreen/orgs","repos_url":"https://api.github.com/users/anthonygreen/repos","events_url":"https://api.github.com/users/anthonygreen/events{/privacy}","received_events_url":"https://api.github.com/users/anthonygreen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_idea","name":"feature_idea","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-03T08:31:26Z","updated_at":"2015-12-03T20:28:01Z","closed_at":null,"body":"Dockers [restart policies](https://docs.docker.com/engine/reference/run/#restart-policies-restart) includes the option **unless-stopped** to\r\n\r\n> Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before.\r\n\r\nThis option is currently missing\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/161773190","html_url":"https://github.com/ansible/ansible-modules-core/issues/2614#issuecomment-161773190","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2614","id":161773190,"user":{"login":"smashwilson","id":17565,"avatar_url":"https://avatars.githubusercontent.com/u/17565?v=3","gravatar_id":"","url":"https://api.github.com/users/smashwilson","html_url":"https://github.com/smashwilson","followers_url":"https://api.github.com/users/smashwilson/followers","following_url":"https://api.github.com/users/smashwilson/following{/other_user}","gists_url":"https://api.github.com/users/smashwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/smashwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashwilson/subscriptions","organizations_url":"https://api.github.com/users/smashwilson/orgs","repos_url":"https://api.github.com/users/smashwilson/repos","events_url":"https://api.github.com/users/smashwilson/events{/privacy}","received_events_url":"https://api.github.com/users/smashwilson/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T20:28:01Z","updated_at":"2015-12-03T20:28:01Z","body":"There's already a PR adding this, #2485. I've given it the thumbs-up but I don't have merge permissions."}}