泊坞窗工具箱安装在Windows 8.1
后(成功,我相信)失败安装多克尔工具箱,我得到以下错误:泊坞窗工具箱安装在Windows 8.1
$ docker ps
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
此外,当我尝试运行泊坞窗快速入门终端,它只是打印出现以下错误:
Docker Machine is not installed. Please re-run the Toolbox Installer and try aga
in.
Looks like something went wrong in step 'Looking for vboxmanage.exe'... Press an
y key to continue...
我搜索了docker的疑难解答,但没有发现任何提示。 我试过在没有检查"Install VirtualBox with NDIS5 driver [default NDIS6]"
复选框的情况下安装工具箱。
我也遇到过像您和我在窗口8.1中通过以下步骤解决问题的问题。
- 安装泊坞窗工具箱
-
REGENERATE证书
$ docker-machine regenerate-certs default
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
-
创建新机默认
$ docker-machine create default
Note: It may take a few minutes for downloading boot2docker.iso file.
- 升级泊坞窗机(可选)
$ docker-machine upgrade
- START泊坞窗快速入门终端(或)运行start.sh位置=>℃下在文件:\ Program Files文件\泊坞窗工具箱
- RUN HELLOWORLD
$ docker run hello-world
我希望它会帮助你: - )
试试这个,
-
检查泊坞窗机存在。命令来检查下面。
docker-machine ls
如果仍然出现错误,那么执行下面的步骤2。如果您看到任何已列出的机器并且已停止STATE
,则执行docker-machine start machine_name
例如。 docker-machine start default
-
此步骤可帮助您创建码头机。
docker-machine create --driver virtualbox default