在/etc/docker/目录下新建daemon.json文件
在文件中写入
{
"registry-mirrors": ["https://jmphwhtw.mirror.aliyuncs.com"]
}
以管理员身份运行命令
systemctl daemon-reload
systemctl restart docker
在/etc/docker/目录下新建daemon.json文件
在文件中写入
{
"registry-mirrors": ["https://jmphwhtw.mirror.aliyuncs.com"]
}
以管理员身份运行命令
systemctl daemon-reload
systemctl restart docker