简体   繁体   中英

After installation, `docker info` is not working

I installed Dock via chocolatey install docker-toolbox . After installation, docker info is not working.

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

I did run it from an Administrator shell.

Windows 8.1.

Had to run Start > Programs > Docker > Docker Quickstart Terminal which ran a lot of commands. Then in my original Console2 shell, I ran refreshenv . Then docker info would work. (I already had VirtualBox installed ( choco install virtualbox ).)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM