正常查看ip的時候一直顯示沒有ip
這里先刪除docker0網卡
ip link delete docker0
然后重啟服務
systemctl restart docker
再次查看顯示有ip了
并且查看配置文件也是正常的
cat /etc/docker/daemon.json
{"registry-mirrors": ["https://docker.m.daocloud.io","https://docker.imgdb.de","https://docker-0.unsee.tech","https://docker.hlmirror.com","https://docker.1ms.run","https://func.ink","https://lispy.org","https://docker.xiaogenban1993.com"],"bip":"172.17.0.1/16","dns":["8.8.8.8","114.114.114.114"],"mtu":1500
}