Tuesday, August 11GNOME IT SOLUTIONS LLC

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.

install docker engine linux get.docker.com
Step 1: Install Docker Engine

Step 2: Enable Docker Service

Start Docker with systemctl enable --now docker and verify with hello-world.

systemctl enable docker linux
Step 2: Enable Docker Service

Step 3: Basic Docker Commands

Use docker ps, docker images, and docker run to manage containers.

docker ps images basic commands linux
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).