Skip to main content
πŸ“¬ Get weekly Production AI insights Practical notes on Kubernetes, AI infrastructure and platform engineering. No spam. Subscribe free
DevOps

Install Docker on Rocky Linux 9 (Step-by-Step 2026)

Step-by-step guide to install Docker on Rocky Linux 9. Copy-paste commands, verify installation, and configure for production.

Luca Berton

Β· AI Advisor & Architect

Published Β· 1 min read

Here is how to install Docker on Rocky Linux 9 in 2026. Tested and verified.

Install Docker

sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker $USER
newgrp docker

# Verify
docker run hello-world
docker compose version

Alternative: Podman (Pre-installed)

Rocky Linux 9 comes with Podman pre-installed:

podman run hello-world
alias docker=podman

Free 30-min Production AI consultation

Book Now