DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk5 min

How to Install Docker on Ubuntu: Manual Setup and VPS Checklist

Use Docker’s official apt repository for a maintainable Ubuntu installation, then verify the daemon and hello-world container. Includes .deb alternatives and VPS firewall checks.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

On a supported 64-bit Ubuntu host, Docker’s official apt repository is the maintainable default: add Docker’s signed repository, install Docker Engine and its companion packages, then verify it with sudo docker run hello-world. For a VPS, first confirm the Ubuntu release, architecture, systemd and firewall controls; published container ports can bypass host firewall rules.

Choose an installation method

“Manual installation” can mean several different things. For a repeatable server setup, the apt-repository method below is manual configuration followed by package-managed installation and upgrades. Other options include downloading individual .deb files, installing Ubuntu’s own docker.io package, or using static binaries.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Method Package source and maintenance When it fits
Docker apt repository Docker’s signed apt repository supplies docker-ce and related packages. Upgrades use apt; a specific package version can be selected when reproducibility matters. Recommended default for a package-managed Docker Engine installation.
Ubuntu docker.io Ubuntu package source; Ubuntu describes this as a Canonical-supported package path. Follow Ubuntu’s instructions and do not mix them with Docker CE package assumptions. When you specifically want Ubuntu’s packaged version and support path.
Manual .deb packages Download release- and architecture-specific Engine, CLI, containerd, Buildx and Compose packages. New files must be downloaded for each upgrade. When you need direct package-file installation rather than repository-based updates.
Static binaries Install daemon and client binaries directly. Updates are manual, and build-time dependencies do not receive automatic security updates through this route. Mostly testing or constrained environments, not the ordinary production choice.
Convenience script get.docker.com defaults to latest stable packages and has limited customization. It requires root or sudo. Development and testing convenience, not the production default.

Docker’s official Ubuntu guide lists Ubuntu Resolute 26.04 LTS, Noble 24.04 LTS and Jammy 22.04 LTS, with 64-bit architectures x86_64/amd64, armhf, arm64, s390x and ppc64le/ppc64el. Support lists change, so check Docker’s current Ubuntu installation page for your release and architecture before proceeding.

Install Docker Engine from Docker’s apt repository

1. Remove conflicting packages

If older or alternative container packages are installed, Docker directs users to remove conflicting packages before setting up its repository. Check what is installed, then remove applicable packages such as docker.io, docker-compose, docker-compose-v2, docker-doc, docker-buildx, podman-docker, containerd and runc.

Removing those packages does not by itself delete stored images, containers, volumes or networks. If you need to preserve existing workloads, understand the package and data impact before proceeding.

2. Configure the signed apt source

Use the commands in Docker’s live Ubuntu guide for the exact current repository configuration. The procedure updates apt, installs ca-certificates and curl, creates /etc/apt/keyrings, downloads Docker’s key to /etc/apt/keyrings/docker.asc, makes it readable, and creates /etc/apt/sources.list.d/docker.sources using your Ubuntu codename and machine architecture. The source should use Docker’s stable component and the key via signed-by.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
GMKtec G3S Mini PC Intel N95 Processor (Up to 3.4GHz) 8GB RAM 256GB M.2 SSD | Mini Desktop Computer with VESA Mount for Office Home Business HTPC Proxmox, Dual 4K Display, WiFi 5, Gigabit Ethernet
  • 12th Intel Alder Lake N95 Processor – The GMKtec G3 S Mini PC is powered by the 12th Gen Intel N95 processor with 4 cores, 4 threads, 6MB cache and a burst frequency up to 3.4GHz. Compared with N100/N5105/N5100/N5095, the N95 delivers up to 36% overall performance improvement. Perfect for routine tasks, office work, and home entertainment, this compact mini desktop is more convenient than traditional bulky PCs.
  • 8GB RAM & 256GB SSD Storage – Pre-installed with 8GB DDR4 memory and a fast 256GB M.2 2242 SSD, the G3 S mini desktop offers quicker startup, smoother multitasking, and faster file transfers. Enjoy seamless performance whether you’re working on multiple applications, browsing, or streaming content.
  • Rich Interfaces & Connectivity – The G3 S mini computer comes equipped with USB 3.2 (up to 10Gbps), dual HDMI 2.0 (4K@60Hz), and a 3.5mm audio jack. With support for WiFi 5, Bluetooth 5.0, and Gigabit Ethernet (RJ45 1000MbE), it connects easily with monitors, projectors, printers, office equipment, and other peripherals, making it versatile for both home and business use.
  • Dual 4K Display Support – Featuring upgraded Intel UHD Graphics (up to 1000MHz), the G3 S supports 4K video playback and AV1 decoding for a smooth viewing experience. With dual HDMI outputs, you can connect two 4K@60Hz displays simultaneously, enabling efficient multitasking for work and entertainment.
  • GMKTEC WARRANTY - GMKtec offers a 3-year limited warranty (1 year replacement + 2 years parts replacement) for each mini PC, starting from the date of the purchase effective on all sales starting Oct. 2026. All defects due to design and workmanship are covered. With a professional after sales team always ready to attend to your needs, you can simply relax and enjoy your mini PC

Because the supported release list and repository instructions can change, copy the commands from Docker’s official Ubuntu guide rather than relying on an old, hard-coded codename or architecture value.

3. Install Engine and companion packages

After adding the source, refresh package metadata and install the packages listed in Docker’s guide:

sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

The command installs Docker Engine, its command-line client, containerd, the Buildx plugin and the Compose plugin from Docker’s repository. If you require a pinned version, select the version shown by apt rather than installing an unspecified latest package.

4. Check the service and run a test container

  1. Check the daemon with sudo systemctl status docker.
  2. If the service is inactive, start it with sudo systemctl start docker.
  3. Verify installation with sudo docker run hello-world.

The hello-world test downloads an image if needed, runs a container, prints a confirmation and exits. On Debian and Ubuntu, Docker documents that the service starts on boot by default.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
GMKtec G10 Mini PC Ryzen 5 3500U 1TB SSD 16GB DDR4 Triple 4K Display
  • OFFICE LIGHT GAMING MINI PC - GMKtec Nucbox G10 Series is equipped with the Ryzen 5 3500U, a 64-bit quad-core mid-range performance x86 mobile microprocessor. This processor is based on AMD's Zen+ microarchitecture and is fabricated on a 12 nm process. The 3500U operates at a base frequency of 2.1 GHz with a TDP of 15 W and a Boost frequency of 3.7 GHz. This APU supports up to 32 GB of dual-channel DDR4-2400 memory and incorporates Radeon Vega 8 Graphics operating at up to 1.2 GHz. 35% Performance increase over the similar Intel N-Series N150/N100/N97/N95 processor chips
  • 16GB DDR4 + 1TB SSD - Installed with DDR4 16GB SO-DIMM RAM and a 1TB SSD, the Nucbox G10 mini pc supports memory expansion to 64GB RAM. Featured with Dual M.2 2280 PCIe 3.0 slots, supports dual storage slot expansion to 16TB SSD (2*8TB). (Upgrades not included) This model supports a configurable TDP-down of 12 W and TDP-up of 35 W
  • 2.5GBE ETHERNET FAST NETWORK SPEEDS - Enjoy up to 2500Mbps data transmission speed without worrying about lagging. Ideal for working, gaming, and surfing the internet. Great for Untangle, Pfsense or as a server office PC
  • MINI DESKTOP COMPUTER WITH TRIPLE DISPLAY SCREEN - Nucbox G10 integrates AMD Radeon Vega 8 1200 MHz GPU to deliver powerful graphics processing power to easily handle video editing, and playback, or casual gaming. And it can connect to 3 display screens simultaneously via HDMI 2.1 TMDS/ DPv1.4/ TYPE-C
  • FAST WIRELESS INTERNET WIFI 5 + BT5.0 - Enjoy blazing WiFi 5 & Bluetooth 5.0 alongside a powerhouse selection of ports - dual USB 3.2, USB 2.0, stunning 4K@60Hz HDMI 2.1 TMDS, Full Function USB-C (PD/DP/Data), dedicated DisplayPort, 3.5mm audio, and PD Power Supply for seamless multitasking and premium connectivity

Install from individual .deb files instead

Docker also publishes release-specific package files. In the package pool, select your Ubuntu release and architecture, download the Engine, CLI, containerd, Buildx and Compose packages listed for that release, and install the files together with dpkg. Exact filenames and versions change, so use the live package list and procedure in Docker’s Ubuntu installation documentation.

After installation, use the same systemd status check and sudo docker run hello-world verification. Plan upgrades separately: unlike the apt-repository route, this method requires downloading new package files for each upgrade.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What “VPS template” means in practice

A VPS is the host context for the same Docker Engine installation, not a special Docker installation method. No provider-specific template syntax applies universally. Before provisioning, confirm these conditions:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • The provider image uses a supported Ubuntu release and architecture.
  • You have root or sudo access and outbound access to package repositories and container image registries.
  • The host uses systemd if you intend to manage Docker with systemctl.
  • You know whether the provider supplies cloud-init or another provisioning system; do not assume it is present or enabled.
  • You can control both the VPS provider’s firewall/security group and the Ubuntu host’s firewall.
  • You have decided which services, if any, need public DNS and inbound access.

Firewall warning: Docker’s official Ubuntu installation documentation states, “If you use ufw or firewalld to manage firewall settings, be aware that when you expose container ports using Docker, these ports bypass your firewall rules.” Do not publish a service until you have reviewed Docker’s Ubuntu installation guidance, its firewall notes, and your provider’s network controls. Docker documents support for iptables-nft and iptables-legacy; rules created with nft are not supported. For Docker-managed traffic, review iptables-based rules and the DOCKER-USER chain.

Use sudo, the docker group, or rootless mode

By default, Docker commands require sudo. The docker group is empty when created; adding a user to it is a deliberate privilege choice, not a routine convenience setting. Docker warns that membership grants powerful access to the host. See Docker’s Linux post-installation guidance for the group setup and rootless-mode alternatives.

Update or remove Docker

Updates

With Docker’s apt repository, update Docker through the package manager; you can choose a specific package version when version control is important. With individual .deb files, download the new files for each upgrade. Docker describes its convenience script as unsuitable for production environments and intended for development and testing; if you used it, use the package manager for subsequent upgrades rather than rerunning the script as your upgrade routine.

Uninstallation and stored data

Removing Docker packages and repository/key files is separate from deleting Docker data. Images, containers, volumes and custom configuration are not automatically removed by package uninstallation. Deleting /var/lib/docker and /var/lib/containerd is a separate destructive cleanup; confirm you no longer need the data before removing those directories. Follow the removal steps in Docker’s Ubuntu guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Common installation snags

  • Unsupported release or architecture: Recheck Docker’s live support list; do not substitute a repository codename based on guesswork.
  • Package conflicts: Remove only applicable conflicting packages before installing Docker’s packages, and keep Ubuntu’s docker.io route separate from Docker CE instructions.
  • Service inactive: Inspect sudo systemctl status docker; start it with sudo systemctl start docker if appropriate.
  • Permission denied without sudo: Use sudo, or make an explicit decision about docker-group access or rootless mode after reading Docker’s post-install guidance.
  • Service unreachable from outside the VPS: Check Docker port publishing, host firewall behavior, provider firewall/security-group rules, DNS and the service’s listening address. A host firewall rule alone may not control published container ports.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.