In this lab, we will pull an existing container image from a repository, start the container, and expose the web server port to the local host. After completing this lab you will have the knowledge to search for an image, pull the image, and start up a running container by using Podman.
*This lab is not approved or sponsored by Red Hat.*
Successfully complete this lab by achieving the following learning objectives:
- Search for and Pull the NGINX Container Image
First, you will need to find the official NGINX container image to use for the container.
- Run a Container Using the NGINX Container Image
Run a container using the NGINX container image. The container should have port 80 exposed to port 8080 on the local host.
- Verify the New Container Is Working
Verify that the web server running in the container can be reached on the local host port 8080.