3.4. Pushing a container image to private automation hub
You can push tagged container images to private automation hub to create new containers and populate the container registry.
Prerequisites
- You have permissions to create new containers.
- You have the FQDN or IP address of the automation hub instance.
Procedure
Log in to Podman using your automation hub location and credentials:
$ podman login -u=[username] -p=[password] [automation-hub-url]Push your container image to your automation hub container registry:
$ podman push [automation-hub-url]/[container image name]
Verification
- Log in to your automation hub.
- Navigate to Container Registry.
- Locate the container in the container repository list.