NEW Bare Metal Servers with 20G Dedicated Unmetered Bandwidth 20G Dedicated Unmetered Servers Read more STATUS

Install Docker + Compose in One Click

Sep 28, 2026 3 min read

Docker + Compose gives you a container host and nothing else, which is often exactly what you want. It installs Docker Engine from Docker's own package repository, so you get current releases rather than whatever the distribution happened to freeze, and it starts the Docker service on every boot.

New or rebuilt machines only. Docker + Compose can't be added to a machine you're already running. It installs during the next rebuild (cloud) or reinstall (bare metal), and both erase the disk first, so the machine comes back as a fresh Debian or Ubuntu system with Docker + Compose on top. Use it on a new machine or one you're ready to wipe, and back up anything you want to keep first. To add Docker + Compose to a server that already holds your data, install it by hand instead.

What gets installed

  • Docker Engine (docker-ce), the docker CLI and containerd.
  • The Compose v2 plugin, so it's docker compose (with a space), plus Buildx.
  • The Docker service, enabled and running.

No ports are opened and no password is generated. It's a runtime; what you run on it decides the rest.

Install it

On a cloud instance, open its Apps tab, click Install on next rebuild on the Docker + Compose card, then rebuild with a Debian or Ubuntu image. On a bare-metal server it's Install on next reinstall, then a reinstall with the App: Docker + Compose post-install script ticked. The App Library guide covers the details, the status you'll see, and what to do if it fails.

The Docker + Compose card in the App Library on a cloud instance's Apps tab, with its Debian / Ubuntu label and the Install on next rebuild button
The card on the Apps tab. The label shows which operating system it needs.
After clicking Install on next rebuild: a message that Docker + Compose is staged and the VM must be rebuilt to install it, and docker listed as queued under Installs on this machine
Clicking the button only stages the app. The message tells you to rebuild, and names the operating system to pick.
The Rebuild tab: a notice that 1 staged app will install during this rebuild (docker), above the Rebuild VM card warning that all data on the VM will be erased
The Rebuild tab lists the staged app above the warning that the rebuild erases the VM. Nothing is installed until you go ahead.

First steps once it's ready

Check it works, then run your first stack:

docker run --rm hello-world
docker compose version
# compose.yaml
services:
  web:
    image: nginx:stable
    ports:
      - "80:80"
    restart: unless-stopped
docker compose up -d
docker compose ps

One firewall gotcha

Docker writes its own packet-filter rules when you publish a port, and those skip past ufw running inside the machine. A container on -p 5432:5432 is reachable from the internet even if ufw says it's blocked. The instance firewall in the portal sits outside the machine, so it still applies; use it, or publish ports only on 127.0.0.1 for things that shouldn't be public.

Questions we get

  • Can I run Docker as a normal user? Add the user to the docker group (usermod -aG docker youruser) and log in again. Be aware that membership in that group is effectively root.
  • Is the old docker-compose command there? No, just the v2 plugin: docker compose.

Still stuck?

Open a support ticket with the machine and paste the install log from the Apps tab if it failed. We can see the install from our side.

Built for production

Why teams stay with Netrouting

We connect you to the Internet using network engineers (and not order takers) and hardware and infrastructure that is built to last, so we can pick up where you left off when you need us.

  • Expert-Level Support Our staff is available 24 hours a day, 7 days a week to handle network administration and systems management issues as they occur.
  • Scalable Solutions Build whatever depth or breadth your infrastructure needs and then scale as required.
  • Enhanced Security Enable 2-factor authentication and also limit by IP address from the control panel to secure your account.
  • Cost-Efficient Infrastructure You will always receive the best value from your investment as you will be optimized for budget without any compromise on Quality.