{"action":"created","issue":{"url":"https://api.github.com/repos/garethr/garethr-docker/issues/182","repository_url":"https://api.github.com/repos/garethr/garethr-docker","labels_url":"https://api.github.com/repos/garethr/garethr-docker/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/garethr/garethr-docker/issues/182/comments","events_url":"https://api.github.com/repos/garethr/garethr-docker/issues/182/events","html_url":"https://github.com/garethr/garethr-docker/issues/182","id":54108968,"number":182,"title":"Support running container only once","user":{"login":"dominicbecker","id":769179,"avatar_url":"https://avatars.githubusercontent.com/u/769179?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbecker","html_url":"https://github.com/dominicbecker","followers_url":"https://api.github.com/users/dominicbecker/followers","following_url":"https://api.github.com/users/dominicbecker/following{/other_user}","gists_url":"https://api.github.com/users/dominicbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbecker/subscriptions","organizations_url":"https://api.github.com/users/dominicbecker/orgs","repos_url":"https://api.github.com/users/dominicbecker/repos","events_url":"https://api.github.com/users/dominicbecker/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbecker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/garethr/garethr-docker/labels/feature","name":"feature","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-12T21:26:18Z","updated_at":"2016-04-06T16:03:30Z","closed_at":null,"body":"There are situations where you want to ensure that the container *has run* vs *is running*. Examples include data containers and ambassador containers. \r\n\r\nFor purely static containers, you may note, it doesn't really matter if these are run more than once by the init system. However, other actions like performing an installation or a deployment to another shared volume can suffer from being run multiple times and cause problems. \r\n\r\nWhat do you think of the idea to support running a container just once @garethr?\r\n\r\nI have an implementation for the pre-v3.x upstart job but haven't had a chance to update it for SysV init. https://github.com/dominicbecker/garethr-docker/tree/runOnce"},"comment":{"url":"https://api.github.com/repos/garethr/garethr-docker/issues/comments/206442542","html_url":"https://github.com/garethr/garethr-docker/issues/182#issuecomment-206442542","issue_url":"https://api.github.com/repos/garethr/garethr-docker/issues/182","id":206442542,"user":{"login":"redguy-p2pu","id":406403,"avatar_url":"https://avatars.githubusercontent.com/u/406403?v=3","gravatar_id":"","url":"https://api.github.com/users/redguy-p2pu","html_url":"https://github.com/redguy-p2pu","followers_url":"https://api.github.com/users/redguy-p2pu/followers","following_url":"https://api.github.com/users/redguy-p2pu/following{/other_user}","gists_url":"https://api.github.com/users/redguy-p2pu/gists{/gist_id}","starred_url":"https://api.github.com/users/redguy-p2pu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redguy-p2pu/subscriptions","organizations_url":"https://api.github.com/users/redguy-p2pu/orgs","repos_url":"https://api.github.com/users/redguy-p2pu/repos","events_url":"https://api.github.com/users/redguy-p2pu/events{/privacy}","received_events_url":"https://api.github.com/users/redguy-p2pu/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T16:03:30Z","updated_at":"2016-04-06T16:03:30Z","body":"bump"}}