【问题标题】:Boot2Docker start up fails in windowsBoot2Docker 在 Windows 中启动失败
【发布时间】:2015-02-20 04:28:32
【问题描述】:

我正在尝试从 winodws7 企业版启动 docker。

 boot2docker start

结果

 Waiting for VM and Docker daemon to start...
 ..........................................................................oooooo
 oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 Started.
 Trying to get Docker socket one more time
 Error requesting socket: exec: "ssh": executable file not found in %PATH%
 Docker client does not run on Windows for now. Please use
 "boot2docker" ssh
 to SSH into the VM instead.

我试过这个link。但是所有答案都对我没有帮助。我已经重新安装了 boot2docker 并在虚拟机中关闭了 boot2docker-vm 并重新启动。我的 bios 中启用了虚拟化。我的系统有更好的功能。

使用 1.4.1 版本。

请给点建议?

【问题讨论】:

    标签: virtual-machine docker boot2docker


    【解决方案1】:

    正如 boot2docker 所抱怨的,您的路径中没有 ssh。请将 ssh.exe 添加到 Windows 路径中(可能不可见,但 boot2docker 安装包含 msys-git 安装,其中包含 ssh.exe,因此您需要在路径中添加 Git 安装目录,例如

    c:\Program Files (x86)\Git\bin
    

    【讨论】:

    • setx PATH "%PATH%;c:\Program Files (x86)\Git\bin"
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-08
    • 1970-01-01
    • 2021-04-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多