Pull execution environments for use in automation hub
Before you can push execution environments to your private automation hub, you must first pull them from an existing registry and tag them for use.
Before you begin Copy linkLink copied!
- You have permissions to pull automation execution environments from
registry.redhat.io.
About this task Copy linkLink copied!
The following example details how to pull an execution environment from the Red Hat Ecosystem Catalog (registry.redhat.io).
Procedure Copy linkLink copied!
Results Copy linkLink copied!
To verify that the execution environment you pulled is contained in the list, take these steps:
- List the images in local storage:
$ podman images - Check the execution environment name, and verify that the tag is correct.
Tag execution environments Copy linkLink copied!
After you pull execution environments from a registry, tag them for use in your private automation hub remote registry.
Before you begin Copy linkLink copied!
- You have pulled an execution environment from an external registry.
- You have the FQDN or IP address of the automation hub instance.
Procedure Copy linkLink copied!
$ podman tag registry.redhat.io/<ee_name>:<tag> <automation_hub_hostname>/<ee_name>
Results Copy linkLink copied!
- List the images in local storage:
$ podman images - Verify that the execution environment you tagged with your automation hub information is contained in the list.
Push an execution environment to private automation hub Copy linkLink copied!
You can push tagged execution environments to private automation hub to create new containers and populate the remote registry.
Before you begin Copy linkLink copied!
- You have permissions to create new containers.
- You have the FQDN or IP address of the Ansible Automation Platform instance.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- Log in to Ansible Automation Platform.
- Navigate to .
- Locate the container in the container repository list.
The push operation re-compresses image layers during the upload, which is not guaranteed to be reproducible and is client-implementation dependent. This may lead to image-layer digest changes and a failed push operation, resulting in Error: Copying this image requires changing layer representation, which is not possible (image is signed or the destination specifies a digest).
Pull and sync images from automation hub to your local system Copy linkLink copied!
Pull Ansible Automation Platform execution environments from the automation hub registry to your local machine. Use the provided podman pull command for the latest version in the repository, or specify a tag to copy a specific execution environment.
Pull an image Copy linkLink copied!
Use the user interface to pull an execution environment from your private automation hub remote registry to make a copy to your local machine.
Before you begin Copy linkLink copied!
- You must have permission to view and pull from a private container repository.
- If you are pulling automation execution environments from a password or token-protected registry, create a credential first.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- Select your execution environment.
- In the Pull this image entry, click .
- Paste and run the command in your terminal.
Results Copy linkLink copied!
- Run
podman imagesto view images on your local machine.
Sync images from a container registry Copy linkLink copied!
You can pull automation execution environments from the private automation hub remote registry to sync an image to your local machine. To sync an execution environment from a remote registry, you must first configure a remote registry.
Before you begin Copy linkLink copied!
You must have permission to view and pull from a private container repository.