docker0网卡没有ip一步解决
正常查看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
}