简体   繁体   English

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.我安装了 docker 终端并尝试运行它。 I got this message.我收到了这条消息。

So I ran it again and I get this message.所以我再次运行它并收到此消息。

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.然而,同样的现象重演。

Have you installed ProxyCap?您是否安装了 ProxyCap?

thanks to @alastairtree , he reminded me that ProxyCap will make the VirtualBox error when setting up port forwarding.感谢@alastairtree ,他提醒我ProxyCap 在设置端口转发时会出现VirtualBox 错误。 If you check the VirtualBox log, log file path: C:\\Users\\demo\\.docker\\machine\\machines\\default\\default\\Logs\\VBox.log如果查看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: rejecting 'C:\\windows\\system32\\pcapwsp.dll': rcNt=0xc0000190

pcapwsp.dll is part of ProxyCap, after uninstalling ProxyCap, everything is fine pcapwsp.dllpcapwsp.dll的一部分,卸载ProxyCap后一切正常

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM