Featured resource
Forrester Wave Report 2025
Pluralsight named a Leader in the Forrester Wave™

Our tech skill development platform earned the highest scores possible across 11 criteria.

Learn more
  • Labs icon Lab
  • Cloud
Google Cloud Platform icon
Labs

Running Your First Podman Container on RHEL

Every journey has to start somewhere. In this lab, we jump right into the deep end and look at how to launch and interact with our first container! Once complete, you'll know how to start, interact, and stop a container.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Apr 23, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Run Your First Podman Container

    Let's try the following:

    1. Check for running containers as cloud_user and root
    2. Check for local container images
    3. Search for httpd-24 container images
    4. Run the docker.io/centos/httpd-24-centos8 image
      • In detached mode, with a tty to run commands
    5. Check for running containers as cloud_user again
    6. Check for local container images again
    7. Check the contents of the /etc/redhat-release file on the server
    8. Open a bash shell in our container
      • Check the contents of the /etc/redhat-release file in the container
      • Try accessing the Apache web server running on port 8080 using curl
      • Exit the container's bash shell
    9. Try accessing the Apache web server running on port 8080 using curl from the server
      • This will fail as we haven't published port 8080 on the container
  2. Challenge

    Clean Up

    Let's clean up after ourselves!

    Do the following:

    1. Check for running containers as cloud_user again
    2. Stop our running container
    3. Check for running containers as cloud_user again and verify it's stopped
    4. Remove the container
    5. Check for running containers as cloud_user again and verify it's removed
    6. Check for local container images again
    7. Remove our httpd-24-centos8:latest image from local storage
    8. Check for local container images again

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.