From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Unlock the full course today
Join today to access over 23,300 courses taught by industry experts.
Inspect container images
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Inspect container images
- [Instructor] Once you have some container images pulled down from registries, you can inspect them using the podman inspect command. Podman inspect can display a container, image, volume, network, or pods configuration. Here we'll use it to view a container. First, get a list of container images by typing in podman space images and hit Enter. Now choose one and inspect it using podman inspect. For instance, to inspect the ubi9 image, I type in podman space inspect space registry.access.redhat.com/ubi9 and hit Enter. The output of this command should display key-value pairs. For instance, the Cmd key specifies the default command to run in the container. You can override this key by specifying a command as an argument using podman run. This particular UBI container will execute the bash shell if no argument is given. You can also inspect remote images before you even pull them down to your local host using the skopeo…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
About containers on Enterprise Linux7m 2s
-
(Locked)
Retrieve container images from a remote registry6m
-
(Locked)
Inspect container images1m 46s
-
(Locked)
Managing containers3m 53s
-
(Locked)
Working with container images9m 39s
-
(Locked)
Build a container from a container file7m 6s
-
(Locked)
Configure a container to start automatically as a systemd service6m 55s
-
(Locked)
Attach persistent storage to a container4m 9s
-
(Locked)
-