목차

, , ,

Docker Image

이미지 빌드 결과물과 레지스트리 전송, 로컬 캐시, archive 입출력을 다루는 docker image 관리 그룹.

Summary

Usage

docker image COMMAND

Command Groups

Registry Transfer

Local Inventory

Import and Export

Cleanup

Examples

# 태그별 이미지 목록 확인
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

Troubleshooting

Compatibility

Help

+ docker image --help

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.

+

See Also

History