- Lab
- A Cloud Guru
Creating a Containerized Web Server
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.*
Path Info
Table of Contents
-
Challenge
Search for and Pull the NGINX Container Image
First, you will need to find the official NGINX container image to use for the container.
-
Challenge
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.
-
Challenge
Verify the New Container Is Working
Verify that the web server running in the container can be reached on the local host port 8080.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.