安装后,`docker info`无效

时间:2018-04-27 19:34:25

标签: windows docker chocolatey docker-toolbox

我通过chocolatey install docker-toolbox安装了Dock。安装后,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 0520e24302

https://docs.docker.com/get-started/#test-docker-version

我确实从管理员shell运行它。

Windows 8.1。

1 个答案:

答案 0 :(得分:0)

必须运行开始>节目> Docker> Docker Quickstart Terminal运行了很多命令。然后在我原来的Console2 shell中,我运行了refreshenv。那么docker info就行了。 (我已经安装了VirtualBox(choco install virtualbox)。)