Chapter 7. Pulling images from a container repository
Pull automation execution environments from the automation hub remote registry to make a copy to your local machine. Automation hub provides the podman pull
command for each latest
automation execution environments in the container repository. You can copy and paste this command into your terminal, or use podman pull
to copy an automation execution environments based on an automation execution environments tag.
7.1. Pulling an image
You can pull automation execution environments from the automation hub remote registry to make a copy to your local machine.
Prerequisites
- You must have permission to view and pull from a private container repository.
Procedure
- If you are pulling automation execution environments from a password or token-protected registry, create a credential before pulling the automation execution environments.
-
From the navigation panel, select
. - Select your automation execution environments.
- In the Pull this image entry, click .
- Paste and run the command in your terminal.
Verification
-
Run
podman images
to view images on your local machine.
7.2. Syncing images from a container repository
You can pull automation execution environments from the automation hub remote registry to sync an image to your local machine. To sync an automation execution environment from a remote registry, you must first configure a remote registry.
Prerequisites
You must have permission to view and pull from a private container repository.
Procedure
-
From the navigation panel, select
. - Add https://registry.redhat.io to the registry.
Add any required credentials to authenticate.
NoteSome remote registries are aggressive with rate limiting. Set a rate limit under Advanced Options.
-
From the navigation panel, select
. - Click in the page header.
Select the registry you want to pull from. The Name field displays the name of the automation execution environments displayed on your local registry.
NoteThe Upstream name field is the name of the image on the remote server. For example, if the upstream name is set to "alpine" and the Name field is "local/alpine", the alpine image is downloaded from the remote and renamed to "local/alpine".
- Set a list of tags to include or exclude. Syncing automation execution environments with a large number of tags is time consuming and uses a lot of disk space.
Additional resources
- See Red Hat Container Registry Authentication for a list of registries.
- See the What is Podman? documentation for options to use when pulling images.