首页 > Windows开发 > 详细

docker on windows v19 红色启动不了

时间:2020-08-19 22:23:41      阅读:386      评论:0      收藏:0      [点我收藏+]

遇到:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/json: 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.

 

-

解决:

下载最新的WSL 2 内核

 

https://docs.microsoft.com/zh-cn/windows/wsl/wsl2-kernel

 

--

更改国内源:

右键托盘图标-setting-docker engine - 修改registry-mirrors:

"registry-mirrors": [
"https://registry.docker-cn.com",
"http://f1361db2.m.daocloud.io"
]

-- 全部配置文件:

{
"registry-mirrors": [
"https://registry.docker-cn.com",
"http://f1361db2.m.daocloud.io"
],
"insecure-registries": [],
"debug": true,
"experimental": false
}

 

docker on windows v19 红色启动不了

原文:https://www.cnblogs.com/runliuv/p/13532108.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!