没有IP地址连接Docker工具箱 - Mac OX High Sierra

时间:2017-11-13 09:26:31

标签: macos docker docker-toolbox

我想在2017年Macbook Pro上使用High Sierra下载Docker Toolbox。我去了Docker Toolbox网站并下载了它。然后我从安装程序运行docker快速安装终端,然后它开始运行并在我的Macbook Pro上获得docker和vm机器。然后我注意到它丢了一个错误而没给我一个IP地址来访问网页。连接到vm时出错:

Starting "default"...
(default) Check network to re-create if needed...
(default) Creating a new host-only adapter produced an error: /usr/local/bin/VBoxManage hostonlyif create failed:
(default) 0%...
(default) Progress state: NS_ERROR_FAILURE
(default) VBoxManage: error: Failed to create the host-only adapter
(default) VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
(default) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
(default) VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
(default) 
(default) This is a known VirtualBox bug. Let's try to recover anyway...
Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): Regenerating TLS certificates
Waiting for SSH to be available...
Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded
Error checking TLS connection: Host is not running



                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ 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

我试图运行

docker run hello-world 

测试它并得到另一个错误。

omars-mbp:~ omarjandali$ docker run -d hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

有没有人知道发生了什么事情或我需要做些什么才能让我的Macbook Pro 2017上运行docker。

0 个答案:

没有答案