First install docker on fedora using these notes: https://docs.docker.com/engine/install/fedora/
We will base this tutorial on the Open Quake QGIS Server: https://github.com/gem/oq-qgis-server
You can find their published images on Docker Hub here: https://hub.docker.com/r/openquake/qgis-server
docker pull openquake/qgis-server:3.16
Now find a directory with a project in it and use that instead of the path used below
docker run -v ~/NextCloud/QGISProjects/Madeira:/io/data --name qgis-server -d -p 8010:80 openquake/qgis-server:3.16
The list of available tags is here: https://hub.docker.com/r/openquake/qgis-server/tags?page=1&ordering=last_updated
QGIS Server Documentation
User Guide: https://docs.qgis.org/3.16/en/docs/server_manual/index.html
Tutorial: https://docs.qgis.org/3.16/en/docs/training_manual/qgis_server/index.html