In this lab, we will explore podman image tagging, modifying a container, saving an image, and pushing an image to a repository. After completing this lab, you will be able to create and tag an image with a custom tag, save it to a .tar file, and push the modified image to a repository.
*This lab is not approved or sponsored by Red Hat.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Modify the Existing Containers Default Web Page
Modify the default web page in the
web-1
container to sayFuture Home of llama-rama enterprises
.- Commit the Changes to a New Image and Tag the Image
The modified container should have the changes committed to a new image named
localhost:5000/llama-rama-web.
Tag the image asv1.0
.- Create a .tar Archive of the New Image
Create a .tar archive of the image. The archive should be named
llama-rama-web.tar
.- Publish the New Image to a Local Registry
Publish the new image to the registry running on
localhost:5000
.