Skip to content

镜像拉取比较慢,如何采用国内镜像呢? #315

Answered by bfqymmt
bfqymmt asked this question in Q&A
Discussion options

You must be logged in to vote

已解决
`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 `

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lorna0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #313 on September 15, 2023 03:17.