不知道Docker的问题是什么 - 我试图让守护进程启动/运行但不能。这是我得到的错误:
➜ ~ bash --login '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'
Creating Machine default...
Running pre-create checks...
Creating machine...
(default) OUT | Creating VirtualBox VM...
(default) OUT | Creating SSH key...
(default) OUT | Starting VirtualBox VM...
Error creating machine: Error in driver during machine creation: exit status 1
Starting machine default...
exit status 1
Regenerate TLS machine certs? Warning: this is irreversible. (y/n):
Regenerating TLS certificates
Detecting the provisioner...
Error getting SSH command: Something went wrong running an SSH command!
command : cat /etc/os-release
err : exit status 255
output :
Setting environment variables for machine default...
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
Error getting IP address: Host is not running
docker is configured to use the default machine with IP
For help getting started, check out the docs at https://docs.docker.com
Error running connection boilerplate: default is not running. Please start it
in order to use the connection settings
我正在跑步:
我通过toolbox install tool重新安装了二进制文件,但无济于事。
VirtualBox提供权限错误,因此可能是问题(我安装了v4.3,但没有帮助):
/Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0: The owner is not root
如果这有帮助,这里是Kitematic的日志输出:
/usr/local/bin/docker-machine -D create -d virtualbox --virtualbox-memory 2048 default returned non zero exit code. Stderr: Docker Machine Version: 0.5.1 (7e8e38e) Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
有什么建议吗?感谢
答案 0 :(得分:2)
似乎虚拟机无法创建。从相同的命令开始,Kitematic正在运行以完成调试,然后将其添加到您的问题中:
if (String.IsNullOrEmpty(param3)) // you could say that only 3 params were given
{
}
else // you could say that all 4 params were given
{
}
答案 1 :(得分:1)
我更新到OSX 10.11并且问题消失了。不知道为什么不幸。
答案 2 :(得分:1)
我能够解决类似的问题。 当我第二次安装docker工具箱时出现问题。
我卸载了所有虚拟盒以太网驱动程序虚拟盒本身,然后卸载了docker工具箱。
然后我重新创建了boot2docker机器 docker-machine -D create -d virtualbox --virtualbox-boot2docker-url = https://github.com/boot2docker/boot2docker/releases/download/v1.9.0/boot2docker.iso --virtualbox-memory 2048默认