When I run:
$ boot2docker start
I get:
Waiting for VM and Docker daemon to start...
.................
Started.
Trying to get Docker socket one more time
Error requesting socket: exit status 255
Auto detection of the VM's Docker socket failed.
Please run `boot2docker -v up` to diagnose.
I have delete the iso and redownloaded it, and reran init. I have even reinstalled it. If I run it with the -v flag I get a bunch of these:
executing: /usr/bin/ssh ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i /Users/cholmok/.ssh/id_boot2docker docker@localhost grep tcp:// /proc/$(cat /var/run/docker.pid)/cmdline
Error requesting socket: exit status 255
I figured out what the problem was: I had a corrupted hosts file.
I had the same error, after I upgraded to 1.2.
For me the problem was already exported DOCKER_HOST
env variable.
Try to unset it and run boot2docker up
again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With