docker-machine无法启动主机

时间:2015-09-08 07:18:59

标签: macos docker

我最近在我的计算机上安装了docker工具箱(OS X),虽然我在其他笔记本电脑上工作正常,但它似乎无法正常工作。使用docker工具箱安装并通过docker命令行工具启动后(根据docker docs)。由于某种原因,我得到主机没有运行错误?

Caused by: java.lang.NullPointerException
    at javafx.scene.control.HeavyweightDialog.updateStageBindings(HeavyweightDialog.java:319)
    at javafx.scene.control.HeavyweightDialog.initOwner(HeavyweightDialog.java:120)
    at javafx.scene.control.Dialog.initOwner(Dialog.java:451)
    at AlertTest.start(AlertTest.java:9)

尝试docker-machine start default也无法启动主机:

Machine default already exists in VirtualBox.
Starting machine default... exit status 1 Started machines may have new IP addresses. You may need to re-run the docker-machine env command. Setting environment variables for machine default...
                    ##         .
              ## ## ##        ==
           ## ## ## ## ##    ===
       /"""""""""""""""""\___/ ===
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
       \______ o           __/
         \    \         __/
          \____\_______/
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
default is not running. Please start this with docker-machine start default

1 个答案:

答案 0 :(得分:2)

这似乎是与Virtual Box 5.0兼容的问题。 试试这个Github问题中提到的解决方案。 Docker not installing correctly