Skip to content

docker添加或修改容器的端口映射 | 508工作室 #7

Description

@schizobulia

https://lab508.gitee.io/2020/03/29/yun-wei/docker-yi-yun-xing-rong-qi-tian-jia-huo-xiu-gai-duan-kou-ying-she/

查看hash_of_the_container$ docker ps -a
$ 获取容器id(这里的id一般是hash_of_the_container的前几位)
$ cd /var/lib/docker/containers/
$ ls

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions