gpt4 book ai didi

docker - 如何避免docker0接口(interface)启动?

转载 作者:行者123 更新时间:2023-12-02 19:42:48 26 4
gpt4 key购买 nike

我用我的私有(private) eth0m 运行 docker接口(interface)解释here

我想在没有 docker0 的情况下运行 docker和 172.... 接口(interface)
如何禁用 docker0 ?

最佳答案

为什么要删除 docker0 ?

When Docker starts, it creates a virtual interface named docker0 on the host machine. [...] But docker0 is no ordinary interface. It is a virtual Ethernet bridge that automatically forwards packets between any other network interfaces that are attached to it. This lets containers communicate both with the host machine and with each other.



来源:
https://docs.docker.com/articles/networking/

关于docker - 如何避免docker0接口(interface)启动?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31148570/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com