Docker的4种网络模式

咱们在使用docker run建立Docker容器时,能够用--net选项指定容器的网络模式,Docker有如下4种网络模式:html · host模式,使用--net=host指定。web · container模式,使用--net=container:NAME_or_ID指定。docker · none模式,使用--net=none指定。安全 · bridge模式,使用--net=bridge
相关文章
相关标签/搜索