Skip to main content
πŸ“¬ Get weekly Production AI insightsPractical notes on Kubernetes, AI infrastructure and platform engineering. No spam.Subscribe free
How to Install Docker on Amazon Linux 2023
DevOps

How to Install Docker on Amazon Linux 2023

Complete guide to install Docker Engine on Amazon Linux 2023. Covers Docker CE installation, post-install steps, Docker Compose, and verification.

Luca Berton

Β· The Production AI Expert

Published Β·1 min read

Here is how to install Docker on Amazon Linux 2023 in 2026.

Install

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

Verify

docker run hello-world
docker compose version

Alternative: Podman

Amazon Linux 2023 includes Podman as a Docker-compatible alternative:

podman run hello-world

Free 30-min Production AI consultation

Book Now