Guide

Docker one-command install script (beta)

Last updated: 1 December 2026

This free script installs Docker Engine and Docker Compose from Docker's official apt repository. It is new (beta): use it on a fresh server and read it first.

Instant VPS from $7.99 a month

See Instant VPS plansHow ordering works

Requirements and run

Ubuntu 22.04/24.04 or Debian 12/13 with root access, at any provider. Download, compare the SHA-256 (35847de6d5e7154ac80b7bb28e934c5d794fb6404f9509a853f537f701aa1681), read it, then run:

wget https://phantomvps.com/blog/docker.sh
sha256sum docker.sh
less docker.sh
sudo bash docker.sh

What it changes

Good to know

Where to run it

Need a server? See our Instant VPS plans: no ID documents, pay with Monero or Bitcoin. Use them within our acceptable use policy.

Pay privately: Monero VPS and no-KYC VPS hosting, with no ID documents.

Questions and answers

Does it replace an existing Docker?
No. If a docker command exists, it stops and changes nothing.

Where do the packages come from?
From download.docker.com, Docker's own repository.

Is it tested?
It is a beta. Please report problems to support@phantomvps.com.

Does it work on other providers?
Yes, on any server with a supported system and root access.

Related guides

Ready to try it? Instant VPS from $7.99 a month

See Instant VPS plansHow ordering works