1.进入/etc/docker目录
2、touch daemon.json文件
{
"registry-morrors":["https://m719ycf7.morror.aliyuncs.com"] }
或者
"insecure-registries"
: [
"hub.ark.jd.com"
]
}
3.systemctl daemon-reload
4.systemctl restart docker