我是docker的新手,我正试图在我的工作计算机上运行boot2docker.我使用用户帐户登录到运行OS X版本10.10.1(Yosemite)的计算机,该用户帐户从办公室网络安装主目录.
我从https://github.com/boot2docker/osx-installer/releases安装了Docker v1.4.1
和VirtualBox 4.3.20 for OS X主机从https://www.virtualbox.org/wiki/Downloads开始
我按照docker.com mac安装上的说明操作,但我没有得到应该是结果.
docker终端出现此错误:
bash-3.2$/usr/local/bin/boot2docker init
Virtual machine boot2docker-vm already exists
bash-3.2$/usr/local/bin/boot2docker up
error in run: Failed to start machine "boot2docker-vm" (run again with -v for details)
bash-3.2$$(/usr/local/bin/boot2docker shellinit)
error in run: VM "boot2docker-vm" is not running.
bash-3.2$docker version
Client version: 1.4.1
Client API version: 1.16
Go version (client): go1.3.3
Git commit (client): 5bc2ff8
OS/Arch (client): darwin/amd64
FATA[0000] Get http:///var/run/docker.sock/v1.16/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
在VirtualBox上启动boot2docker-vm会返回以下错误:
Failed to open a session for the virtual machine boot2docker-vm.
NamedPipe#0 Failed to bind to local socket
/Network/Servers/servername/Volumes/cal/Users/username/.boot2docker/boot2docker-vm.sock (VERR_NOT_SUPPORTED)
最佳答案