[root@localhost ~]# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://hub-mirror.c.163.com"],
"bip": "10.10.1.1/24"
}
systemctl daemon-reload ; service docker restart # 重启docker
# bip 指定网段为:10 网段掩码位错误将会导致docker无法重启
2021-10-10 21:32:45
[root@localhost ~]# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://hub-mirror.c.163.com"],
"bip": "10.10.1.1/24"
}
systemctl daemon-reload ; service docker restart # 重启docker
# bip 指定网段为:10 网段掩码位错误将会导致docker无法重启