docker获取IP地址时出错:ssh命令错误退出状态255

[英]docker Error getting IP address: ssh command error exit status 255


I am using the Oracle VM VurtualBox 5.1.18 version

我使用的是Oracle VM VurtualBox 5.1.18版本

Windows 10 version 64bit, and "Docker Quick Start Terminal"

Windows 10版本64位和“Docker快速启动终端”

I installed the docker terminal and tried to run it. I got this message.

我安装了docker终端并尝试运行它。我收到了这条消息。

enter image description here

在此处输入图像描述

So I ran it again and I get this message.

所以我再次运行它,我收到了这条消息。

enter image description here

在此处输入图像描述

so, When I tried "$docker-machine ls" command, the following message was printed.

所以,当我尝试“$ docker-machine ls”命令时,打印了以下消息。

NAME      ACTIVE   DRIVER       STATE     URL   SWARM   DOCKER    ERRORS
default   *        virtualbox   Running                 Unknown   ssh command error:
command : ip addr show
err     : exit status 255
output  :

To solve the problem, I tried the following command.

为了解决这个问题,我尝试了以下命令。

$ Docker-machine rm default
$ Docker-machine create --driver virtualbox default

Nevertheless, the same phenomenon repeats itself.

然而,同样的现象重演。

1 个解决方案

#1


0  

Have you installed ProxyCap?

你安装了ProxyCap吗?

thanks to @alastairtree, he reminded me that ProxyCap will make the VirtualBox error when setting up port forwarding. If you check the VirtualBox log, log file path: C:\Users\demo\.docker\machine\machines\default\default\Logs\VBox.log

感谢@alastairtree,他提醒我,ProxyCap会在设置端口转发时出现VirtualBox错误。如果检查VirtualBox日志,则记录文件路径:C:\ Users \ demo \ .docker \ machine \ machines \ default \ default \ Logs \ VBox.log

You can find the error message supR3HardenedErrorV: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\windows\system32\pcapwsp.dll': rcNt=0xc0000190

你可以找到错误信息supR3HardenedErrorV:supR3HardenedMonitor_LdrLoadDll:拒绝'C:\ windows \ system32 \ pcapwsp.dll':rcNt = 0xc0000190

pcapwsp.dll is part of ProxyCap, after uninstalling ProxyCap, everything is fine

pcapwsp.dll是ProxyCap的一部分,卸载ProxyCap后,一切都很好


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.itdaan.com/blog/2017/03/27/6f8141809277951f0ea2c5b6aabebe6.html



 
© 2014-2019 ITdaan.com 粤ICP备14056181号  

赞助商广告