- Lab
- A Cloud Guru
Managing Containers on RHEL 8 Using podman
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. *This course is not approved or sponsored by Red Hat.*
Path Info
Table of Contents
-
Challenge
Install Container Tools and Get Container Info
- Install the container tools.
- Verify tool installation.
- Query available container images.
- Query local image state.
-
Challenge
Pull, Run, and Remove a Container Image
- Pull a container image from an online repo.
- Verify the local image.
- Run the image as a container and query it's status.
- Remove the running container.
- Remove the container image.
-
Challenge
Configure and Run a `httpd` Container On-Demand
- Query a container's particulars before pulling it.
- Run the Container On-Demand with altered configuration.
- Test the container is running and answering queries.
- Monitor your container's running state briefly.
-
Challenge
Configure a Container as a `systemd` Service with Persistent Storage
- Set up a user to run containers via
systemd
. - Run a web service container with customer parameters.
- Generate a
systemd
service unit from the container. - Run and verify the container as a
systemd
service. - Reboot and verify the service and container are persistent.
- Set up a user to run containers via
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.