1. 配置
root@ros-OptiPlex-3050:~# cat /etc/docker/daemon.json
{
"graph": "/mnt/docker-data",
"storage-driver": "overlay"
}
{
“registry-mirrors”: [“https://registry.docker-cn.com“]
}
2.重启
root@ros-OptiPlex-3050:~# service docker reload
root@ros-OptiPlex-3050:~# service docker restart