Container Commands that were used while digging into Quay, a Local Red Hat container repo.

This command, pulled the container from a list quay_images and uploaded them to my local quay repo.

for IMG in $(cat quay_images);do skopeo --override-os linux copy docker://registry.redhat.io/rhosp-rhel8/$IMG:16.2.4  docker://172.22.100.66/registry.redhat.io/rhosp-rhel8/$IMG:16.2.4 --insecure-policy --dest-tls-verify=false --dest-creds admin:testtest ; done

Tagging the container before upload.

  • You would get the $image from podman image list
 podman tag $IMAGE 172.22.100.66/registry.redhat.io/rhosp-rhel8/openstack-aodh-api

Uploading a container to the local repo.

podman push --tls-verify=false  172.22.100.66/registry.redhat.io/rhosp-rhel8/openstack-aodh-evaluator