이미지 빌드 결과물과 레지스트리 전송, 로컬 캐시, archive 입출력을 다루는 docker image 관리 그룹.
docker images 는 사실상 docker image ls 의 축약형이다.[REGISTRY_HOST/]REPOSITORY[:TAG] 형태이며, 같은 digest를 여러 tag가 가리킬 수 있다.pull, push, tag, save/load, prune 의 차이를 명확히 구분하는 것이 중요하다.docker image COMMAND
docker image ls [OPTIONS]docker image pull [OPTIONS] NAME[:TAG|@DIGEST]docker image push [OPTIONS] NAME[:TAG]docker image tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]docker image rm [OPTIONS] IMAGE [IMAGE…]pull: 레지스트리에서 로컬로 다운로드–all-tags, –platform, -qpush: 로컬 이미지를 레지스트리로 업로드-a, –platform, -qtag: 같은 이미지에 새 이름이나 태그 부여ls: 로컬 이미지 목록-a, –digests, –filter, –format, –no-trunc, -qinspect: JSON 메타데이터 조회-fhistory: 레이어 이력 확인–human, –no-trunc, -qsave: 하나 이상의 이미지를 tar archive로 저장-oload: tar archive 또는 stdin에서 이미지 복원-i, –platform, -qimport: rootfs tarball에서 새 이미지 생성-c, -m, –changerm: 참조되지 않는 태그 또는 이미지 제거-f, –no-pruneprune: 미사용 이미지 정리-a, -f, –filter until=…# 태그별 이미지 목록 확인 docker image ls --digests # 새 registry 이름으로 재태깅 후 업로드 docker image tag myapp:latest registry.example.com/team/myapp:2026.07.06 docker image push registry.example.com/team/myapp:2026.07.06 # 이미지 백업 docker image save -o myapp.tar registry.example.com/team/myapp:2026.07.06 # 미사용 이미지 정리 docker image prune -a
push access denied 는 로그인 상태, repository 권한, registry 경로 오타를 먼저 확인한다.latest 같은 mutable tag는 캐시 혼선을 만들 수 있다. 운영 배포에는 날짜나 버전 태그를 병행하는 편이 안전하다.save/load 는 레지스트리 메타데이터 대신 tar 전달에 가깝다. 원격 호스트와 직접 공유할 때는 pull/push 쪽이 보통 낫다.docker pull, docker push, docker rmi, docker images 축약형이 널리 쓰인다.Usage: docker image COMMAND Manage images Commands: build Build an image from a Dockerfile history Show the history of an image import Import the contents from a tarball to create a filesystem image inspect Display detailed information on one or more images load Load an image from a tar archive or STDIN ls List images prune Remove unused images pull Download an image from a registry push Upload an image to a registry rm Remove one or more images save Save one or more images to a tar archive (streamed to STDOUT by default) tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE Run 'docker image COMMAND --help' for more information on a command.
+