运行中的docker配置端口映射(添加/删除)

添加端口映射a. 获取容器ipdocker inspect $container_name | grep IPAddressb. 添加转发规则iptables -t nat -A DOCKER -p tcp --dport $host...