docker container ls

1 개요[ | ]

도커 / 컨테이너 목록보기
Docker / Listing Containers
  • 도커 컨테이너 리스트
  • 이것 대신 docker ps를 쓰면 된다...

2 문법[ | ]

$ docker container ls [OPTIONS]

3 옵션[ | ]

Name, shorthand Default Description
--all , -a Show all containers (default shows just running)
--filter , -f Filter output based on conditions provided
--format Pretty-print containers using a Go template
--last , -n -1 Show n last created containers (includes all states)
--latest , -l Show the latest created container (includes all states)
--no-trunc Don’t truncate output
--quiet , -q Only display numeric IDs
--size , -s Display total file sizes

4 예시[ | ]

john:~$ docker container ls
CONTAINER ID        IMAGE           COMMAND        CREATED           STATUS          PORTS        NAMES
3a7a2a3fd9ea        ubuntu:16.04    "/bin/bash"    3 days ago        Up 3 days                    sad_joliot
→ ubuntu:16.04 가 러닝 중임을 확인 할 수 있음

5 같이 보기[ | ]

6 참고[ | ]

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