{"action":"opened","number":10497,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/10497","id":28430384,"html_url":"https://github.com/docker/docker/pull/10497","diff_url":"https://github.com/docker/docker/pull/10497.diff","patch_url":"https://github.com/docker/docker/pull/10497.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/10497","number":10497,"state":"open","locked":false,"title":"Prevent orphan volumes creation from missing rm -v","user":{"login":"allingeek","id":1166083,"avatar_url":"https://avatars.githubusercontent.com/u/1166083?v=3","gravatar_id":"","url":"https://api.github.com/users/allingeek","html_url":"https://github.com/allingeek","followers_url":"https://api.github.com/users/allingeek/followers","following_url":"https://api.github.com/users/allingeek/following{/other_user}","gists_url":"https://api.github.com/users/allingeek/gists{/gist_id}","starred_url":"https://api.github.com/users/allingeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allingeek/subscriptions","organizations_url":"https://api.github.com/users/allingeek/orgs","repos_url":"https://api.github.com/users/allingeek/repos","events_url":"https://api.github.com/users/allingeek/events{/privacy}","received_events_url":"https://api.github.com/users/allingeek/received_events","type":"User","site_admin":false},"body":"Added logic to delete.go preventing the removal of containers that would create orphan managed volumes.\r\n\r\nIf volumes are not being removed then check that none of the target container's volumes are only referenced by the target container. If such a volume exists return an appropriate error and stop the container removal.\r\n\r\nFixes #8363 - By fixing the orphan issue, not by creating list-volumes\r\n\r\nSigned-off-by: Jeff Nickoloff <jeff@allingeek.com>","created_at":"2015-02-01T12:23:31Z","updated_at":"2015-02-01T12:23:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/10497/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/10497/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/docker/docker/issues/10497/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/d0243de37c122b93bf22cdf01ce16ce457c1b00f","head":{"label":"allingeek:orphan-volume-prevent","ref":"orphan-volume-prevent","sha":"d0243de37c122b93bf22cdf01ce16ce457c1b00f","user":{"login":"allingeek","id":1166083,"avatar_url":"https://avatars.githubusercontent.com/u/1166083?v=3","gravatar_id":"","url":"https://api.github.com/users/allingeek","html_url":"https://github.com/allingeek","followers_url":"https://api.github.com/users/allingeek/followers","following_url":"https://api.github.com/users/allingeek/following{/other_user}","gists_url":"https://api.github.com/users/allingeek/gists{/gist_id}","starred_url":"https://api.github.com/users/allingeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allingeek/subscriptions","organizations_url":"https://api.github.com/users/allingeek/orgs","repos_url":"https://api.github.com/users/allingeek/repos","events_url":"https://api.github.com/users/allingeek/events{/privacy}","received_events_url":"https://api.github.com/users/allingeek/received_events","type":"User","site_admin":false},"repo":{"id":27242148,"name":"docker","full_name":"allingeek/docker","owner":{"login":"allingeek","id":1166083,"avatar_url":"https://avatars.githubusercontent.com/u/1166083?v=3","gravatar_id":"","url":"https://api.github.com/users/allingeek","html_url":"https://github.com/allingeek","followers_url":"https://api.github.com/users/allingeek/followers","following_url":"https://api.github.com/users/allingeek/following{/other_user}","gists_url":"https://api.github.com/users/allingeek/gists{/gist_id}","starred_url":"https://api.github.com/users/allingeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allingeek/subscriptions","organizations_url":"https://api.github.com/users/allingeek/orgs","repos_url":"https://api.github.com/users/allingeek/repos","events_url":"https://api.github.com/users/allingeek/events{/privacy}","received_events_url":"https://api.github.com/users/allingeek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allingeek/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/allingeek/docker","forks_url":"https://api.github.com/repos/allingeek/docker/forks","keys_url":"https://api.github.com/repos/allingeek/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allingeek/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allingeek/docker/teams","hooks_url":"https://api.github.com/repos/allingeek/docker/hooks","issue_events_url":"https://api.github.com/repos/allingeek/docker/issues/events{/number}","events_url":"https://api.github.com/repos/allingeek/docker/events","assignees_url":"https://api.github.com/repos/allingeek/docker/assignees{/user}","branches_url":"https://api.github.com/repos/allingeek/docker/branches{/branch}","tags_url":"https://api.github.com/repos/allingeek/docker/tags","blobs_url":"https://api.github.com/repos/allingeek/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allingeek/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allingeek/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/allingeek/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allingeek/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/allingeek/docker/languages","stargazers_url":"https://api.github.com/repos/allingeek/docker/stargazers","contributors_url":"https://api.github.com/repos/allingeek/docker/contributors","subscribers_url":"https://api.github.com/repos/allingeek/docker/subscribers","subscription_url":"https://api.github.com/repos/allingeek/docker/subscription","commits_url":"https://api.github.com/repos/allingeek/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/allingeek/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/allingeek/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/allingeek/docker/issues/comments/{number}","contents_url":"https://api.github.com/repos/allingeek/docker/contents/{+path}","compare_url":"https://api.github.com/repos/allingeek/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allingeek/docker/merges","archive_url":"https://api.github.com/repos/allingeek/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allingeek/docker/downloads","issues_url":"https://api.github.com/repos/allingeek/docker/issues{/number}","pulls_url":"https://api.github.com/repos/allingeek/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/allingeek/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/allingeek/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allingeek/docker/labels{/name}","releases_url":"https://api.github.com/repos/allingeek/docker/releases{/id}","created_at":"2014-11-27T21:36:53Z","updated_at":"2015-02-01T10:46:16Z","pushed_at":"2015-02-01T12:17:29Z","git_url":"git://github.com/allingeek/docker.git","ssh_url":"git@github.com:allingeek/docker.git","clone_url":"https://github.com/allingeek/docker.git","svn_url":"https://github.com/allingeek/docker","homepage":"http://www.docker.com","size":40293,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"f8331f700babd58d9759f9d0d7d1cb2de0d14346","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments/{number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-02-01T11:50:04Z","pushed_at":"2015-02-01T03:52:51Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":130614,"stargazers_count":18853,"watchers_count":18853,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3890,"mirror_url":null,"open_issues_count":1012,"forks":3890,"open_issues":1012,"watchers":18853,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/10497"},"html":{"href":"https://github.com/docker/docker/pull/10497"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/10497"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/10497/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/10497/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/10497/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/d0243de37c122b93bf22cdf01ce16ce457c1b00f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":0,"changed_files":1}}