内容来自
作者:横飞的三角龙
cd /etc/docker
vim daemon.json
# 保存并退出
{
"dns": ["8.8.8.8", "114.114.114.114"]
}
#重启docker
systemctl restart docker