Managing Containers on RHEL 8 Using podman

45 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this lab, you’re an otherwise experienced systems operator who has been tasked with working through how root-less containers can be configured on your server. You’ll be querying for what container images are available, pulling container images, performaing basic operations on them, monitoring the state and operation of the containers, and testing for running services on the containers. You’ll then configure the user environment for running a container as a `systemd` service, pull and execute a container with custom parameters, and then generate a custom `systemd` service unit and enable it to run automatically on system boot. Finally, you’ll test that everything is set for being persistent upon reboot, then reboot and verify that the custom `systemd` service is verifiably persistent, and monitor it briefly for continued function.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install Container Tools and Get Container Info
  1. Install the container tools.
  2. Verify tool installation.
  3. Query available container images.
  4. Query local image state.
Pull, Run, and Remove a Container Image
  1. Pull a container image from an online repo.
  2. Verify the local image.
  3. Run the image as a container and query it’s status.
  4. Remove the running container.
  5. Remove the container image.
Configure and Run a `httpd` Container On-Demand
  1. Query a container’s particulars before pulling it.
  2. Run the Container On-Demand with altered configuration.
  3. Test the container is running and answering queries.
  4. Monitor your container’s running state briefly.
Configure a Container as a `systemd` Service with Persistent Storage
  1. Set up a user to run containers via systemd.
  2. Run a web service container with customer parameters.
  3. Generate a systemd service unit from the container.
  4. Run and verify the container as a systemd service.
  5. Reboot and verify the service and container are persistent.

Additional Resources

Red Hat Exam Requirements Covered:

  • Find and retrieve container images from a remote registry
  • Inspect container images
  • Perform container management using commands such as podman and skopeo
  • Perform basic container management such as running, starting, stopping, and listing running containers
  • Run a service inside a container
  • Configure a container to start automatically as a systemd service
  • Attach persistent storage to a container
What are Hands-on Labs

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?