도커 docker container ls 와 docker ps 의 차이점

(Docker container ls 와 docker ps 의 차이점에서 넘어옴)

1 개요[ | ]

도커 / Difference between "docker container ls" and "docker ps"
Docker / "Docker container ls" 와 "docker ps" 의 차이점
  • 두 명령어 모두 컨테이너 목록을 보여주는 기능이며, 완전히 동일하다.
  • docker container <subcommand> 형식은 docker 1.13에 추가되었다.
root@localhost:~# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS           NAMES
1de735ceb1f2        nginx               "nginx -g 'daemon of…"   6 minutes ago       Up 6 minutes        80/tcp           nginx
4dad4c382033        redis               "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        6379/tcp           gracious_khayyam
8a99b2add360        memcached           "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        11211/tcp           compassionate_albattani
root@localhost:~# docker container ls
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS           NAMES
1de735ceb1f2        nginx               "nginx -g 'daemon of…"   6 minutes ago       Up 6 minutes        80/tcp           nginx
4dad4c382033        redis               "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        6379/tcp           gracious_khayyam
8a99b2add360        memcached           "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        11211/tcp           compassionate_albattani

2 같이 보기[ | ]

3 참고[ | ]

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