{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/2542","labels_url":"https://api.github.com/repos/docker/machine/issues/2542/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/2542/comments","events_url":"https://api.github.com/repos/docker/machine/issues/2542/events","html_url":"https://github.com/docker/machine/issues/2542","id":121373141,"number":2542,"title":"docker-machine hangs, boot2docker doesn't","user":{"login":"tmornini","id":87,"avatar_url":"https://avatars.githubusercontent.com/u/87?v=3","gravatar_id":"","url":"https://api.github.com/users/tmornini","html_url":"https://github.com/tmornini","followers_url":"https://api.github.com/users/tmornini/followers","following_url":"https://api.github.com/users/tmornini/following{/other_user}","gists_url":"https://api.github.com/users/tmornini/gists{/gist_id}","starred_url":"https://api.github.com/users/tmornini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmornini/subscriptions","organizations_url":"https://api.github.com/users/tmornini/orgs","repos_url":"https://api.github.com/users/tmornini/repos","events_url":"https://api.github.com/users/tmornini/events{/privacy}","received_events_url":"https://api.github.com/users/tmornini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/machine/labels/driver/virtualbox","name":"driver/virtualbox","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-10T00:24:48Z","updated_at":"2016-01-16T04:55:34Z","closed_at":null,"body":"On my machine (MacBook Air, Core i7, 8GB, OS X 10.11.1), running `./build_common` from `https://github.com/tmornini/docker-machine-bug-report` will quickly hang a container in a weird state.\r\n\r\nBoth docker-machine and boot2docker machines were configured with default values except memory size was bumped to 4096 MB on both. The virtualbox driver was used with docker-machine.\r\n\r\ndocker-toolbox [1.9.1c](https://github.com/docker/toolbox/releases/download/v1.9.1c/DockerToolbox-1.9.1c.pkg)\r\n\r\nand brew installed:\r\n\r\ndocker-machine version: `0.5.1 (HEAD)`\r\n\r\nThe only way to disconnect from the run command is to run `docker-machine stop machine` from another terminal window...\r\n\r\nThe behavior is non-deterministic but is more prone to hang than not. Sometimes it'll execute properly once, sometimes it'll hang the first time. I've never seen it run successfully twice in a row, but I suspect it's just statistically unlikely. :-)\r\n\r\nRunning against boot2docker works just fine, infinitely looping until ctrl-c though it's a bit tricky to catch it at the right moment. Running natively on an AWS EC2 instance using the current Amazon Linux AMI with Docker upgraded as discussed [here](http://stackoverflow.com/questions/32639553/upgrading-docker-on-amazon-linux-ami) works perfectly as well.\r\n\r\n```\r\n$ sudo service docker stop\r\n$ sudo cp /usr/bin/docker /usr/bin/docker.old\r\n$ sudo curl -o /usr/bin/docker https://get.docker.com/builds/Linux/x86_64/docker-1.9.1\r\n$ sudo service docker start\r\n```\r\n\r\nDocker client version: `1.9.1, build a34a1d5`"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/172157515","html_url":"https://github.com/docker/machine/issues/2542#issuecomment-172157515","issue_url":"https://api.github.com/repos/docker/machine/issues/2542","id":172157515,"user":{"login":"tmornini","id":87,"avatar_url":"https://avatars.githubusercontent.com/u/87?v=3","gravatar_id":"","url":"https://api.github.com/users/tmornini","html_url":"https://github.com/tmornini","followers_url":"https://api.github.com/users/tmornini/followers","following_url":"https://api.github.com/users/tmornini/following{/other_user}","gists_url":"https://api.github.com/users/tmornini/gists{/gist_id}","starred_url":"https://api.github.com/users/tmornini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmornini/subscriptions","organizations_url":"https://api.github.com/users/tmornini/orgs","repos_url":"https://api.github.com/users/tmornini/repos","events_url":"https://api.github.com/users/tmornini/events{/privacy}","received_events_url":"https://api.github.com/users/tmornini/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T04:55:34Z","updated_at":"2016-01-16T04:55:34Z","body":"Yes. I'll reopen if required."}}