Red Hat Training

A Red Hat training course is available for RHEL 8

3.4. 레지스트리에서 이미지 가져오기

podman pull 명령을 사용하여 이미지를 로컬 시스템으로 가져옵니다.

사전 요구 사항

  • container-tools 모듈이 설치되어 있습니다.

절차

  1. registry.redhat.io 레지스트리에 로그인합니다.

    $ podman login registry.redhat.io
    Username: <username>
    Password: <password>
    Login Succeeded!
  2. registry.redhat.io/ubi8/ubi 컨테이너 이미지를 가져옵니다.

    $ podman pull registry.redhat.io/ubi8/ubi

검증 단계

  • 로컬 시스템으로 가져온 모든 이미지를 나열합니다.

    $ podman images
    REPOSITORY                           TAG     IMAGE ID      CREATED      SIZE
    registry.redhat.io/ubi8/ubi          latest  3269c37eae33  7 weeks ago  208 MB

추가 리소스

  • podman-pull 도움말 페이지