Install Docker on AlmaLinux 9 and Ubuntu 22.04 (2026 Guide)
Install Docker on Linux for containerized applications — works on AlmaLinux, Ubuntu, and Debian.
Step 1: Install Docker Engine
Run the official install script or use your distro package manager.
Step 1: Install Docker Engine
Step 2: Enable Docker Service
Start Docker with systemctl enable --now docker and verify with hello-world.
Step 2: Enable Docker Service
Step 3: Basic Docker Commands
Use docker ps, docker images, and docker run to manage containers.
Step 3: Basic Docker Commands
usermod -aG docker $USER # run docker without sudo
docker compose version
Terminal screenshots are original illustrations created for Gnome IT Solutions (blog.gnomeitsolutions.com).
