{"action":"created","issue":{"url":"https://api.github.com/repos/docker/toolbox/issues/188","labels_url":"https://api.github.com/repos/docker/toolbox/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/docker/toolbox/issues/188/comments","events_url":"https://api.github.com/repos/docker/toolbox/issues/188/events","html_url":"https://github.com/docker/toolbox/issues/188","id":106794446,"number":188,"title":"Installation under Mac fails due to permission misuse","user":{"login":"aleksandr-vin","id":223293,"avatar_url":"https://avatars.githubusercontent.com/u/223293?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandr-vin","html_url":"https://github.com/aleksandr-vin","followers_url":"https://api.github.com/users/aleksandr-vin/followers","following_url":"https://api.github.com/users/aleksandr-vin/following{/other_user}","gists_url":"https://api.github.com/users/aleksandr-vin/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandr-vin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandr-vin/subscriptions","organizations_url":"https://api.github.com/users/aleksandr-vin/orgs","repos_url":"https://api.github.com/users/aleksandr-vin/repos","events_url":"https://api.github.com/users/aleksandr-vin/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandr-vin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/toolbox/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/toolbox/milestones/6","html_url":"https://github.com/docker/toolbox/milestones/v1.8.2a","labels_url":"https://api.github.com/repos/docker/toolbox/milestones/6/labels","id":1309052,"number":6,"title":"v1.8.2a","description":"","creator":{"login":"jeffdm","id":251292,"avatar_url":"https://avatars.githubusercontent.com/u/251292?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffdm","html_url":"https://github.com/jeffdm","followers_url":"https://api.github.com/users/jeffdm/followers","following_url":"https://api.github.com/users/jeffdm/following{/other_user}","gists_url":"https://api.github.com/users/jeffdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffdm/subscriptions","organizations_url":"https://api.github.com/users/jeffdm/orgs","repos_url":"https://api.github.com/users/jeffdm/repos","events_url":"https://api.github.com/users/jeffdm/events{/privacy}","received_events_url":"https://api.github.com/users/jeffdm/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-09-16T18:49:46Z","updated_at":"2015-09-17T02:34:29Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-16T15:11:02Z","updated_at":"2015-09-17T02:34:29Z","closed_at":"2015-09-17T02:34:29Z","body":"Installation process under Mac (Yosemite 10.10.5) creates ~/.docker directory (and subfolders) with root as owner. That abandons the `default` machine creation:\r\n\r\n```bash\r\nleksandrs-MacBook-Pro:~ aleksandrvin$ . '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'\r\nCreating Machine default...\r\nError creating machine config dir: mkdir /Users/aleksandrvin/.docker/machine/certs: permission denied\r\nStarting machine default...\r\nError: Host does not exist: default\r\nSetting environment variables for machine default...\r\n\r\n\r\n                        ##         .\r\n                  ## ## ##        ==\r\n               ## ## ## ## ##    ===\r\n           /\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\\___/ ===\r\n      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~\r\n           \\______ o           __/\r\n             \\    \\         __/\r\n              \\____\\_______/\r\n\r\n\r\nError: Host does not exist: default\r\ndocker is configured to use the default machine with IP\r\nFor help getting started, check out the docs at https://docs.docker.com\r\n\r\nError: Host does not exist: default\r\n```\r\n\r\n**Workaround:** return ownership to the user with `sudo chown -R $(whoami) .docker/`"},"comment":{"url":"https://api.github.com/repos/docker/toolbox/issues/comments/140947034","html_url":"https://github.com/docker/toolbox/issues/188#issuecomment-140947034","issue_url":"https://api.github.com/repos/docker/toolbox/issues/188","id":140947034,"user":{"login":"jeffdm","id":251292,"avatar_url":"https://avatars.githubusercontent.com/u/251292?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffdm","html_url":"https://github.com/jeffdm","followers_url":"https://api.github.com/users/jeffdm/followers","following_url":"https://api.github.com/users/jeffdm/following{/other_user}","gists_url":"https://api.github.com/users/jeffdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffdm/subscriptions","organizations_url":"https://api.github.com/users/jeffdm/orgs","repos_url":"https://api.github.com/users/jeffdm/repos","events_url":"https://api.github.com/users/jeffdm/events{/privacy}","received_events_url":"https://api.github.com/users/jeffdm/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T02:34:29Z","updated_at":"2015-09-17T02:34:29Z","body":"This should be fixed in [1.8.2a](https://github.com/docker/toolbox/releases/tag/v1.8.2a), but feel free to re-open if not."}}