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.
Build a container from a container file
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Build a container from a container file
- [Instructor] Often, we can find image containers, either through Red Hat's UBI registry or elsewhere, that are nearly perfect for our needs, and other times, we need to customize them by adding or removing software. It may be that we need to change the software configuration for our particular use case. As I've mentioned before, container images are not actually images. They're made up of multiple layers. These layers are listed in a container file. These container files can be easily modified, saved, and shared with others. A container file contains the instructions needed to build a new container image, and as they are text files, can be shared using version control systems, such as Git. In this first exercise, we'll pull down an UBI image and add software to it. Start by running the UBI image. Type into a terminal, podman, space, run, space, dash, it, space, dash, dash, name, space, myubi, space…
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)
-