Skip to content

Fedora

Install Docker on a Fedora server in preparation for running Bearicorn.

Requirements

  • Fedora 42 or later
  • A user with sudo privileges

Installation

Step 1 - Install Docker

The steps below follow the official Docker Engine installation guide for Fedora.

bash
sudo dnf upgrade -y
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"

WARNING

Log out and back in before proceeding. The usermod command above adds your user to the Docker group, which only takes effect after a fresh login.

Verify the installation:

bash
docker version
docker compose version

Step 2 - Configure the firewall

bash
sudo firewall-cmd --permanent --add-service=ssh
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload

Step 3 - Install required tools

bash
sudo dnf install -y git openssl

SELinux

The Bearicorn Compose files include SELinux-compatible volume mount options. No additional SELinux configuration is required.

Next Steps

Continue to choose and deploy your stack.