dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
dnf update
dnf install docker-ce docker-ce-cli docker-compose-plugin containerd.io
systemctl enable docker
systemctl start docker