It really is this simple,
1. sudo yum install -y docker-io 2. sudo systemctl start docker 3. sudo docker run mattdm/fedora cat /etc/system-release
Bonus, for when you want to go deeper -
If you don’t want to use sudo all the time, which you shouldn’t want to do, you add yourself to the docker group,
$ sudo usermod -a -G docker $USER
If you don’t want to log out and back in, make your new group effective immediately,
$ su - $USER $ groups | grep -q docker && echo Good job || echo Try again
If you want to run a known image, search for it on https://index.docker.io or on the command line,
$ docker search fedora
Try out a shell with,
$ docker run -i -t mattdm/fedora /bin/bash
