docker on windows v19 红色启动不了

时间:2020-08-19 22:23:41   收藏:0   阅读:386

遇到:

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
}

 

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!