"Docker port"의 두 판 사이의 차이

20번째 줄: 20번째 줄:
* [[docker run -d -p]]
* [[docker run -d -p]]
* [[docker 명령어]]
* [[docker 명령어]]
* [[Dockerfile EXPOSE]]


[[분류: docker]]
[[분류: docker]]

2019년 5월 23일 (목) 15:16 판

1 개요

docker port
$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED  STATUS              PORTS                     NAMES
b0800666613b        redis:latest        "docker-entrypoint.s…"   5 minutes ago  Up 5 minutes        0.0.0.0:32768->6379/tcp   redisDynamic
570a15e2190d        redis:latest        "docker-entrypoint.s…"   5 minutes ago  Up 5 minutes        0.0.0.0:6379->6379/tcp    redisHostPort
46b554d79b28        redis               "docker-entrypoint.s…"   6 minutes ago  Up 6 minutes        6379/tcp                  wizardly_kalam
$ docker port redisDynamic
6379/tcp -> 0.0.0.0:32768
$ docker port redisHostPort
6379/tcp -> 0.0.0.0:6379
$ docker port wizardly_kalam
$

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}