runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

遇到:

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
}

 

posted on 2020-08-19 21:40  runliuv  阅读(1145)  评论(0编辑  收藏  举报