Cockpit is a new tool shipped with CentOS 8 that allows server management, including container management. This lab will allow you to become more familiar with the tool and think about its use cases.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install Cockpit
Given that we have a bare CentOS system, we need to install
cockpit
. Run the following to get the right software on the system:yum install cockpit -y
- Create the Required User
Add the user
trevor
with the following information:Full Name: Trevor McTavish User Name: trevor Password: P1n3h34d!!
Ensure the user is a member of the
wheel
group.- Install the Required Plugin to Manage Containers in Cockpit
The package required is
cockpit-podman
, so we can install it by running:yum install podman cockpit-podman -y
Once installed, we need to restart
cockpit
to make sure the new software is recognized:systemctl restart cockpit
- Start an `rsyslog` Container
Find the
docker.io/camptocamp/rsyslog-bin
container, download it, and start the image.