首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装后,` `docker info`不起作用

安装后,` `docker info`不起作用
EN

Stack Overflow用户
提问于 2018-04-28 03:34:25
回答 1查看 433关注 0票数 1

我通过chocolatey install docker-toolbox安装了码头。安装后,docker info无法正常工作。

代码语言:javascript
复制
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。

EN

回答 1

Stack Overflow用户

发布于 2018-04-28 03:34:25

我必须运行Start > Programs > Docker > Docker Quickstart Terminal,它运行了很多命令。然后,在我最初的Console2 shell中,我运行了refreshenv。那么docker info就可以工作了。(我已经安装了VirtualBox (choco install virtualbox)。)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50069188

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档