Fedora
Use a Fedora release currently supported by Docker. Check the official Docker Engine guide for Fedora before installing, because supported releases and repository commands can change.
Install Docker
bash
sudo dnf -y install dnf-plugins-core git openssl
sudo dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl enable --now docker
sudo usermod -aG docker "$USER"Log out and back in, then verify:
bash
docker version
docker compose version
docker run --rm hello-worldMembership in the Docker group grants root-equivalent control. Skip usermod and use sudo docker ... if your host policy requires it.
Firewall
For a non-cloud host using firewalld:
bash
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reloadOn AWS, Google Cloud, or DigitalOcean, configure the provider firewall as well. Do not open PostgreSQL 5432 or the internal application port 8080.
SELinux
The current Compose files add the z volume option to bind mounts used by Caddy and Traefik. Keep SELinux enforcing and investigate denials rather than disabling it.
Next step
Return to the quick start.