개요
- 도커 / 이미지 목록보기
- Docker / Listing images
- docker image ls
- "docker image list"
- 다운로드된 도커 이미지 보기
문법
docker image ls [OPTIONS] [REPOSITORY[:TAG]]
옵션
| 옵션 | 설명 |
|---|---|
| --all, -a | Show all images (default hides intermediate images) |
| --digests | Show digests |
| --filter, -f | Filter output based on conditions provided |
| --format | Pretty-print images using a Go template |
| --no-trunc | Don’t truncate output |
| --quiet, -q | Only show numeric IDs |
예시
zeta:~$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest 4ab4c602aa5e 2 weeks ago 1.84kB
ubuntu 16.04 b9e15a5d1e1a 2 weeks ago 115MB
- → hello-world, ubuntu:16.04 이미지가 각각 다운로드 되어 있는 것을 확인 할 수 있음