# Pulling 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.
The following example details how to pull an image from Quay.
http://quay.io/kenmoini/ansible-nutanix-ee:latest
# Procedure
Log in to Podman by using your `quay.io` credentials:
`podman login quay.io `
Enter your username and password.
Pull a container image:
`podman pull quay.io/kenmoini/ansible-nutanix-ee:latest`
```
Trying to pull quay.io/kenmoini/ansible-nutanix-ee:latest...
Getting image source signatures
Copying blob 041d1e3af71b done |
Copying blob f963e1d9d9e5 done |
Copying blob 3e2e676f3ead done |
Copying blob 473b57f621ad done |
Copying blob 7b7d2b5258fe done |
Copying blob 1699794b0530 done |
Copying blob 906918484bf2 done |
Copying blob 3953a4376801 done |
Copying blob 41d35266d0a0 done |
Copying blob 2b1cb40900e1 done |
Copying blob 09caeaa3271c done |
Copying blob ef850a664359 done |
Copying blob 7429346ebbc6 done |
Copying blob cd3673b76787 done |
Copying blob 1d4d7f447783 done |
Copying config 6417aaf485 done |
Writing manifest to image destination
6417aaf4857b06d49cb8817b7080bf8ec9c5359bc76582fc92c54f62fa2cb370
```
**Verification**
To verify that the image you recently pulled is contained in the list, take these steps:
**List the images in local storage:**
`podman images`
**Example**
```
[rbanda@rbanda-thinkpadp1gen4i ~]$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/kenmoini/ansible-nutanix-ee latest 6417aaf4857b 47 hours ago 839 MB
```
**Tagging images for use in automation hub**
After you pull images from a registry, tag them for use in your private automation hub container registry.
**Prerequisites**
You have pulled a container image from an external registry.
You have the FQDN or IP address of the automation hub instance.
Procedure
Tag a local image with the automation hub container repository:
`podman tag quay.io/kenmoini/ansible-nutanix-ee:latest:<tag> <automation_hub_URL>/<container_image_name>`
**Verification**
List the images in local storage:
`podman images`
Verify that the image you recently tagged with your automation hub information is contained in the list.
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.