Lab 9.4 - Managing Image Registry - Push Images to the Registry

1. Tag image

podman tag localhost/hello-world \
    image-registry.openshift-image-registry.svc:5000/openshift/hello-world

2. List the images

podman images

3. Push the image

podman push image-registry.openshift-image-registry.svc:5000/openshift/hello-world

4. Try to remove images

podman rmi localhost/hello-world \
  image-registry.openshift-image-registry.svc:5000/openshift/hello-world

5. List the images

podman images

6. Pull image from the image registry

podman pull image-registry.openshift-image-registry.svc:5000/openshift/hello-world

7. Verify the image exist

podman images

8. Exit from the podX-master1 Server

exit

Daftar Materi