添加docker的cdn配置
# 没有这个文件创建
vim /etc/docker/daemon.json
添加内容如下
{
"dns":["8.8.8.8","114.114.114.114"]
}
刷新配置,重启
systemctl daemon-reload
systemctl start docker
# 没有这个文件创建
vim /etc/docker/daemon.json
{
"dns":["8.8.8.8","114.114.114.114"]
}
systemctl daemon-reload
systemctl start docker