Install Docker Stream on a USB key using Rufus
You can find this Windows tool over here: https://rufus.ie/en_US/ and Centos from the official website https://www.centos.org/
Install Centos Stream on the server
No biggy here, just choose Server install and not the one with the GUI.
Install Docker
We need to setup the repository in order to make Docker available through Yum, to do so:
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# Eventually install Docker, with alloerasing option which will remove conflitctual packages
sudo yum install docker-ce docker-ce-cli containerd.io --allowerasing
# Add a docker user to the dedicated group
adduser supertanker
passwd supertanker
sudo usermod -aG docker supertanker
Start Docker
Run the following command, that should not raise a flag
sudo systemctl start docker
# Using your new supertanker user, you should be able to run commands without sudo:
docker run hello-world
Make it starts at boot
sudo systemctl enable docker.service
sudo systemctl enable containerd.service