Install docker:
sudo dnf install docker
Add the docker group:
sudo groupadd docker
Add your user to the docker group:
sudo usermod -aG docker "${USER}"
Log out and log in. Then start the docker service:
sudo systemctl start docker
You may want to make docker service start during boot, to do that run:
sudo systemctl enable docker