3.2. Obtaining images for use in automation hub
Before you can push container images to your private automation hub, you must first pull them from an existing registry and tag them for use. This example details how to pull an image from the Red Hat Ecosystem Catalog (registry.redhat.io).
Prerequisites
- You have permissions to pull images from registry.redhat.io
Procedure
Log in to Podman using your registry.redhat.io credentials:
$ podman login registry.redhat.io- Enter your username and password at the prompts.
Pull a container image:
$ podman pull registry.redhat.io/<container image name>:<tag>
Verification
List the images in local storage:
$ podman images- Verify that the image you recently pulled is contained in the list.
- Verify that the tag is correct.