Docker坑

1.

window10  

docker ps

报错:error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/version: 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.

解决方法:

cd "C:\Program Files\Docker\Docker"

./DockerCli.exe -SwitchDaemon

In Powershell elevated access solved my issue.

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,682评论 0 10
  • 作者:blue(又名一书and一世界) 我的github 环境:Ubuntu 14.04lts 执行的命令: $d...
    一书and一世界阅读 3,730评论 2 2
  • 1. container无法删除 表现为一个运行中的容器,stop和kill没效果,查看/var/log/mess...
    adeng2016阅读 6,858评论 1 1
  • 1. container无法删除 表现为一个运行中的容器,stop和kill没效果,查看/var/log/mess...
    进击云原生阅读 1,280评论 0 1
  • 安装出错libltdl7,libsystemd-journal0这两包没有 先把docker删干净 之后在/etc...
    ldh123阅读 453评论 0 0

友情链接更多精彩内容