安装docker toolbox后运行报错:
$ docker ps
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/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 create box
创建一个docker镜像
$ docker-machine create box
Running pre-create checks...
Creating machine...
(box) Copying C:\Users\Administrator\.docker\machine\cache\boot2docker.iso to C:\Users\Administrator\.docker\machine\machines\box\boot2docker.iso...
(box) Creating VirtualBox VM...
(box) Creating SSH key...
(box) Starting the VM...
(box) Check network to re-create if needed...
(box) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(box) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #3"
(box) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(box) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(box) Waiting for an IP...
docker toolbox安装过程详细参考官方文档:
在安装Docker Toolbox后,尝试创建镜像时遇到错误。错误提示可能表明Docker守护进程未运行。建议检查Docker Toolbox的安装指南,确保正确安装并启动Docker服务。

被折叠的 条评论
为什么被折叠?



