docker仅适用于Quickstart Docker Terminal

时间:2016-05-31 19:57:44

标签: docker windows-10 docker-machine

我有Windows 10 64位,当我在Quickstart Docker终端上使用docker时,一切正常,但是当我在Node.js命令提示符或Windows命令提示符docker上使用它时,它没有工作,因为它没有&# 39;找到一个IP。

例如,当我写" docker-machine ls"在Quickstart Docker终端上显示以下内容:

$ docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER    ERRORS
default   *        virtualbox   Running   tcp://192.168.99.100:2376           v1.11.1
dev       -        virtualbox   Running   tcp://192.168.99.103:2376           v1.11.1

但是当我在Node.js命令提示符上写下它时:

C:\Users\michele>docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL   SWARM   DOCKER    ERRORS
default   *        virtualbox   Running                 Unknown   Something went wrong running an SSH command!
command : ip addr show
err     : exit status 1
output  : command-line: line 0: Bad configuration option: ControlMaster


dev   *    virtualbox   Running             Unknown   Something went wrong running an SSH command!
command : ip addr show
err     : exit status 1
output  : command-line: line 0: Bad configuration option: ControlMaster

有人可以帮助我吗?

0 个答案:

没有答案