创建或修改 /etc/docker/daemon.json 文件
# sudo vi /etc/docker/daemon.json
{
"registry-mirrors":
[
"https://registry.docker-cn.com",
"https://hub-mirror.c.163.com"
]
}
sudo systemctl restart docker.service
创建或修改 /etc/docker/daemon.json 文件
# sudo vi /etc/docker/daemon.json
{
"registry-mirrors":
[
"https://registry.docker-cn.com",
"https://hub-mirror.c.163.com"
]
}
sudo systemctl restart docker.service