在(成功地,我相信)安装了Docker Toolbox之后,出现以下错误:
$ 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 quickstart终端时,它只会显示以下错误:
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]"
复选框。
试试这个,
检查docker机器是否存在。命令在下面检查。
docker-machine ls
如果仍然出现错误,请执行下面的步骤2。如果您看到列出的任何机器并且已经 STATE
停止,请执行 docker-machine start machine_name
例如。 docker-machine start default
此步骤可帮助您创建一个docker-machine。
docker-machine create --driver virtualbox default
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句