我通过chocolatey install docker-toolbox安装了码头。安装后,docker info无法正常工作。
C:\Users\Chloe>docker info
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/info: 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.
C:\Users\Chloe>docker --version
Docker version 18.03.0-ce, build 0520e24302https://docs.docker.com/get-started/#test-docker-version
我确实是从管理员shell运行的。
Windows 8.1。
发布于 2018-04-28 03:34:25
我必须运行Start > Programs > Docker > Docker Quickstart Terminal,它运行了很多命令。然后,在我最初的Console2 shell中,我运行了refreshenv。那么docker info就可以工作了。(我已经安装了VirtualBox (choco install virtualbox)。)
https://stackoverflow.com/questions/50069188
复制相似问题