docker修改docker0默认ip地址

  • A+
所属分类:Linux

1.vim /etc/docker/daemon.json

{

"bip":"172.16.0.1/16"

}

2.systemctl daemon-reload

systemctl restart docker

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: