简体   繁体   中英

OSX boot2docker trouble connecting to docker daemon

Totally new to docker. Trying to learn. I followed the docker guide for mac osx and have had nothing but trouble. I am on OSX 10.9.4. boot2docker & docker v1.5.0. My VirtualBox is version 4.3.26 (just upgraded). I can get to the point of running docker run hello-world . I get the error FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? . Also the command $(boot2docker shellinit) produces the error error in run: Error requesting socket: exit status 2 , so I have to export each manually, which seems fine. I can grep my env and see all of them in my profile. I've been all over stack overflow and googling around and have tried numerous approaches to try and resolve this, but can not seem to find any that have worked for me up to this point. I wanted to reach out and see if anyone else had some suggestions on how to reach the docker daemon? Happy to provide more verbose details about my set up or versions, just let me know what I can provide to resolve this. Thanks in advance.

What you can do is download the latest version of the Boot2docker, then reinstall the boot2docker. It will downgrade the Virtualbox to the compatible version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM