摘要: 端口映射可使用-p、-P来实现: -p指定要映射的端口,一个指定端口上只可以绑定一个容器 -P将容器内部开放的网络端口随机映射到宿主机的一个端口上 端口映射支持的格式: ip:hostport:containerport #指定ip、指定宿主机port、指定容器port ip::containerp 阅读全文
posted @ 2019-05-28 14:48 Awakenedy 阅读(1018) 评论(0) 推荐(0)