How to Install Docker on Ubuntu 26.10

What is Docker?

Docker is a container engine that uses Linux kernel features, such as namespaces and control groups, to create lightweight, portable, and isolated environments called containers.

It helps you create, deploy, and run applications consistently across different environments.

Install Docker

Install Docker and Docker Compose using the apt package manager:

apt update
apt install docker.io docker-compose -y

Enable and start the Docker service immediately:

systemctl enable --now docker

Verify that Docker is active and running:

systemctl status docker

Output:

● docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: e>
     Active: active (running) since Wed 2026-10-21 13:55:17 UTC; 12min ago
 Invocation: 54736b1c442b4a1886e77751002904a9
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 5811 (dockerd)
      Tasks: 9
     Memory: 28.6M (peak: 30.5M)
        CPU: 1.940s
     CGroup: /system.slice/docker.service
             └─5811 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/cont>

Create Docker Group

To manage Docker as a non-root user, create a docker group:

groupadd docker

Add your user to the docker group:

usermod -aG docker $USER

Note: If you are adding a different user, replace $USER with the actual username. If the docker group already exists, you can skip the groupadd docker command.

Check the installed Docker version:

docker --version

Output:

root@server:~# docker --version
Docker version 29.7.2, build 29.7.2-0ubuntu1

Test Docker Installation

Run the hello-world test container:

docker run hello-world

Output:

root@server:~# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
...
Hello from Docker!
This message shows that your installation appears to be working correctly.

Docker is now installed and running on your Ubuntu 26.10 system.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS