-
反馈内容ubuntu 22.04 |
Beta Was this translation helpful? Give feedback.
Answered by
bfqymmt
Sep 15, 2023
Replies: 1 comment
-
已解决 #创建文件 #输入国内的加速源 #重启服务 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lorna0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已解决
`cd /etc/docker
#创建文件
touch daemon.json
vim /etc/docker/daemon.json
#输入国内的加速源
{
"registry-mirrors": ["https://registry.docker-cn.com","http://hub-mirror.c.163.com"]
}
#重启服务
systemctl daemon-reload
systemctl restart docker `