Docker on CentOS / RHEL / Rocky
CentOS itself reached end of life — these steps apply to any RHEL-family distro (Rocky Linux, AlmaLinux, RHEL, CentOS Stream). Unlike Ubuntu/Debian, Docker Engine isn't in the default repos here at all — dnf install docker simply 404s on a stock box. It only ships through Docker's own repository, same as the official Docker docs for CentOS describe.
Install
sudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.reposudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Start the daemon and enable it on boot:
sudo systemctl enable --now docker
Optional — run docker without sudo (log out and back in afterward for it to take effect):
sudo usermod -aG docker $USER
Verify
docker --versiondocker compose versionsudo docker run hello-world
If all three succeed, Docker is ready. Head back to Quick Start and run the install command from your Servers tab.
Last updated 14 July 2026