Containers are being used constantly to provide flexibility and consistency among builds and environments. Introducing the ability to manage services within a container adds to the use case potential of containers. During this activity, the student will practice the steps necessary to create containers that support systemd within them.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Container Filesystem Structure Created
The student is asked to create the filesystem and structure the container will be using. The location (and name of the container) will be called ‘test’.
- Systemd Managed Container is Enabled for Persistency
The ‘test’ container should be enabled so that it restarts on boot automatically.
- Container is Running
The student is asked to verify that the container is running before turning it over to the development team.