Skip to main content
πŸŽ“ Claude Code Masterclass Learn AI-assisted development on Udemy β€” plus the companion book on Leanpub & Amazon. Start Learning
Install Docker on Rocky Linux 9
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.

LB
Luca Berton
Β· 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
#Docker #Installation #Rocky Linux 9 #Tutorial #DevOps
Share:
Kubernetes & Containerization

Need help with Kubernetes & Containerization?

Master Kubernetes and container orchestration with hands-on workshops and architecture consulting.

Learn more about Kubernetes & Containerization

Want to operate this yourself, in production?

Take the free AI Platform Engineer Readiness Scorecard to see which skills transfer β€” then build a production-shaped AI platform in the 4-week Bootcamp.

Take the Scorecard β†’
Luca Berton β€” The Production AI Expert, Docker Captain

Luca Berton

The Production AI Expert Β· Docker Captain Β· KubeCon Speaker

15+ years in enterprise infrastructure. Author of 8 technical books, creator of Ansible Pilot (1M+ YouTube views, 648K site users). Former Red Hat engineer. Speaker at KubeCon EU 2026 and Red Hat Summit 2026.

Free 30-min Production AI consultation

Book Now