docker is available in official fedora repo. However, I recommend to use rpms directly from docker site:
From here download rpms for:
Disable/uninstall sssd as this package will prevent to rpm to create docker group and usermod will fail.
containerd.io will not be recognized by rpm when installing docker-ce. Use
–-no-deps option for rpm when installing docker-ce.