Docker on Alma Linux 10

1. Set up the repo:
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Docker provides CentOS/RHEL repos, which are compatible with AlmaLinux since it’s RHEL-compatible.

2. Install Docker Engine:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
3. Enable and start Docker:
sudo systemctl enable --now docker
4. Test it:
docker run hello-world