{"action":"opened","number":1613,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/1613","id":41226141,"html_url":"https://github.com/docker/machine/pull/1613","diff_url":"https://github.com/docker/machine/pull/1613.diff","patch_url":"https://github.com/docker/machine/pull/1613.patch","issue_url":"https://api.github.com/repos/docker/machine/issues/1613","number":1613,"state":"open","locked":false,"title":"Proposal: create --force","user":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"body":"I've hit a couple scenarios where I want to recreate a machine from scratch, and I don't really care that there's already a machine with the same name. Right now, I do:\r\n\r\n```\r\n$ docker-machine rm $NAME || true && docker-machine create -d ... $NAME\r\n...\r\n```\r\n\r\nNot a terrible approach, but it feels kludgy. This PR allows the following:\r\n\r\n```\r\n$ docker-machine create --force -d ... $NAME\r\n...\r\n```\r\n\r\nSigned-off-by: Dave Henderson <dhenderson@gmail.com>","created_at":"2015-07-30T12:04:20Z","updated_at":"2015-07-30T12:04:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68a312cd40f56e72c0e35344d92ed36c4a0e6a3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/machine/pulls/1613/commits","review_comments_url":"https://api.github.com/repos/docker/machine/pulls/1613/comments","review_comment_url":"https://api.github.com/repos/docker/machine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/machine/issues/1613/comments","statuses_url":"https://api.github.com/repos/docker/machine/statuses/4b756bf91e93998acebe7efc5399cf1af2e14e14","head":{"label":"hairyhenderson:force-create","ref":"force-create","sha":"4b756bf91e93998acebe7efc5399cf1af2e14e14","user":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"repo":{"id":31744393,"name":"machine","full_name":"hairyhenderson/machine","owner":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hairyhenderson/machine","description":"Machine management for a container-centric world","fork":true,"url":"https://api.github.com/repos/hairyhenderson/machine","forks_url":"https://api.github.com/repos/hairyhenderson/machine/forks","keys_url":"https://api.github.com/repos/hairyhenderson/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hairyhenderson/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hairyhenderson/machine/teams","hooks_url":"https://api.github.com/repos/hairyhenderson/machine/hooks","issue_events_url":"https://api.github.com/repos/hairyhenderson/machine/issues/events{/number}","events_url":"https://api.github.com/repos/hairyhenderson/machine/events","assignees_url":"https://api.github.com/repos/hairyhenderson/machine/assignees{/user}","branches_url":"https://api.github.com/repos/hairyhenderson/machine/branches{/branch}","tags_url":"https://api.github.com/repos/hairyhenderson/machine/tags","blobs_url":"https://api.github.com/repos/hairyhenderson/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hairyhenderson/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hairyhenderson/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/hairyhenderson/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hairyhenderson/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/hairyhenderson/machine/languages","stargazers_url":"https://api.github.com/repos/hairyhenderson/machine/stargazers","contributors_url":"https://api.github.com/repos/hairyhenderson/machine/contributors","subscribers_url":"https://api.github.com/repos/hairyhenderson/machine/subscribers","subscription_url":"https://api.github.com/repos/hairyhenderson/machine/subscription","commits_url":"https://api.github.com/repos/hairyhenderson/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/hairyhenderson/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/hairyhenderson/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/hairyhenderson/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/hairyhenderson/machine/contents/{+path}","compare_url":"https://api.github.com/repos/hairyhenderson/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hairyhenderson/machine/merges","archive_url":"https://api.github.com/repos/hairyhenderson/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hairyhenderson/machine/downloads","issues_url":"https://api.github.com/repos/hairyhenderson/machine/issues{/number}","pulls_url":"https://api.github.com/repos/hairyhenderson/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/hairyhenderson/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/hairyhenderson/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hairyhenderson/machine/labels{/name}","releases_url":"https://api.github.com/repos/hairyhenderson/machine/releases{/id}","created_at":"2015-03-06T00:29:18Z","updated_at":"2015-05-08T16:51:58Z","pushed_at":"2015-07-30T12:00:30Z","git_url":"git://github.com/hairyhenderson/machine.git","ssh_url":"git@github.com:hairyhenderson/machine.git","clone_url":"https://github.com/hairyhenderson/machine.git","svn_url":"https://github.com/hairyhenderson/machine","homepage":"https://docs.docker.com/machine/","size":8775,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"7614212d4f75a331db6d462ce0711c5029503b1a","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":27494663,"name":"machine","full_name":"docker/machine","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/machine","description":"Machine management for a container-centric world","fork":false,"url":"https://api.github.com/repos/docker/machine","forks_url":"https://api.github.com/repos/docker/machine/forks","keys_url":"https://api.github.com/repos/docker/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/machine/teams","hooks_url":"https://api.github.com/repos/docker/machine/hooks","issue_events_url":"https://api.github.com/repos/docker/machine/issues/events{/number}","events_url":"https://api.github.com/repos/docker/machine/events","assignees_url":"https://api.github.com/repos/docker/machine/assignees{/user}","branches_url":"https://api.github.com/repos/docker/machine/branches{/branch}","tags_url":"https://api.github.com/repos/docker/machine/tags","blobs_url":"https://api.github.com/repos/docker/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/machine/languages","stargazers_url":"https://api.github.com/repos/docker/machine/stargazers","contributors_url":"https://api.github.com/repos/docker/machine/contributors","subscribers_url":"https://api.github.com/repos/docker/machine/subscribers","subscription_url":"https://api.github.com/repos/docker/machine/subscription","commits_url":"https://api.github.com/repos/docker/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/machine/contents/{+path}","compare_url":"https://api.github.com/repos/docker/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/machine/merges","archive_url":"https://api.github.com/repos/docker/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/machine/downloads","issues_url":"https://api.github.com/repos/docker/machine/issues{/number}","pulls_url":"https://api.github.com/repos/docker/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/machine/labels{/name}","releases_url":"https://api.github.com/repos/docker/machine/releases{/id}","created_at":"2014-12-03T15:52:06Z","updated_at":"2015-07-30T07:09:01Z","pushed_at":"2015-07-30T12:04:20Z","git_url":"git://github.com/docker/machine.git","ssh_url":"git@github.com:docker/machine.git","clone_url":"https://github.com/docker/machine.git","svn_url":"https://github.com/docker/machine","homepage":"https://docs.docker.com/machine/","size":34569,"stargazers_count":2238,"watchers_count":2238,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":442,"mirror_url":null,"open_issues_count":339,"forks":442,"open_issues":339,"watchers":2238,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/machine/pulls/1613"},"html":{"href":"https://github.com/docker/machine/pull/1613"},"issue":{"href":"https://api.github.com/repos/docker/machine/issues/1613"},"comments":{"href":"https://api.github.com/repos/docker/machine/issues/1613/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/machine/pulls/1613/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/machine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/machine/pulls/1613/commits"},"statuses":{"href":"https://api.github.com/repos/docker/machine/statuses/4b756bf91e93998acebe7efc5399cf1af2e14e14"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":1,"changed_files":2}}