February 2020
Intermediate to advanced
666 pages
15h 45m
English
To demonstrate, I'll use a CentOS 7 VM in order to show how SELinux can help protect you. (I'm using CentOS 7 because RHEL 8/CentOS 8 have a new type of Docker system, which works differently.) Also, you'll need to do this from the local console of the VM because the root user will be locked out from logging in via SSH (you'll see what I mean in just a bit):
sudo yum install dockersudo systemctl enable --now docker
sudo groupadd docker
sudo useradd -G docker katelynsudo passwd katelyn