摘要: 在使用容器的过程中我们可能需要修改或者添加新的端口映射,以下也Nginx容器为例: 1、进入容器配置文件目录/var/lib/docker/containers/[hash_of_the_container] hash_of_the_container 可以通过 docker inspect 容器名 阅读全文