修改 Docker 默认网桥地址
service docker stop
ip link set dev docker0 down
brctl delbr docker0
brctl addbr bridge0
ip addr add 100.1.1.1/24 dev bridge0
ip link set dev bridge0 up
echo 'DOCKER_OPTS="-b=bridge0"' >> /etc/default/docker
service docker start
网友评论