Self-Hosting · Platforms

A Plain Debian or Ubuntu Docker Server: The No-Distro Route, Done Right

Every NAS platform on this site is, underneath, Linux plus Docker. You can skip the layer in between: install a plain Debian or Ubuntu server, add Docker Engine from Docker’s own repository, and run your services directly. This is the lightest, most transparent way to self-host — and the one where everything the platform used to do for you becomes your job. This guide covers the right way to build it and the baseline habits that keep it maintainable.

Published Nov 20, 2026

What “plain” gets you, and what it costs

The gains are real. Nothing sits between you and Docker, so every Compose file, tutorial, and error message on the internet applies to your machine exactly as written. The system idles on a few hundred megabytes of RAM. It runs identically on a mini PC, a VPS, a Raspberry Pi, or a VM under Proxmox, so skills and backups transfer. And there is no vendor roadmap to fear — no app store being deprecated, no platform renaming itself under you.

The costs are equally real. There is no storage UI: you partition, format, and mount drives yourself, and shares (SMB/NFS) are packages you configure, not pages you click. Updates to the operating system are yours to schedule. Backups are yours to design. People who enjoy that clarity pick this route deliberately; people who don’t, discover it in the first month. OpenMediaVault is the same Debian foundation with a management layer added, which is why we often suggest it as the middle path.

The install, the supported way

Start from a current release: Debian 13 “Trixie” or Ubuntu 26.04 LTS (24.04 LTS remains supported until 2029 and is equally fine as a Docker host). Install the minimal server image, then add Docker Engine from Docker’s official apt repository — the packages you want are docker-ce, containerd.io, the buildx plugin, and the compose plugin. Docker’s documentation is explicit that the one-line convenience script is for testing, not production machines; the repository method takes five minutes longer and gives you normal, updatable packages. Avoid your distribution’s docker.io package, which trails upstream by months.

Two baseline decisions to make on day one. First, whether your user runs Docker directly (the docker group is effectively root — convenient, standard on home servers, worth knowing) or you use rootless mode for stricter isolation. Second, where stacks live: pick one directory — /srv or /opt/stacks are common — with one folder per service containing its Compose file and its data, so the whole of your self-hosted life is one tree you can back up, move, and reason about. Our Compose basics guide covers the file format itself, and the Compose Generator will draft the files.

The maintenance baseline

A plain server stays pleasant with four habits. Security updates: enable unattended upgrades for security patches, and review feature updates monthly yourself. Container updates: pin image versions and update deliberately — our update strategy guide covers the options from fully manual to Watchtower-assisted. Backups: your stack tree plus a list of your volumes, copied off the box on a schedule — the restic/Kopia guide is written for exactly this layout. Monitoring: one lightweight agent (our Beszel guide) so a full disk or a dead container reaches you before your family does.

Who should choose it — and who shouldn’t

Choose plain Debian or Ubuntu if you are comfortable in a terminal, your storage needs are simple (one or two drives, or storage handled by another machine), or the server is a VM or VPS where a NAS OS makes no sense. It is also the best learning platform: nothing is hidden, so everything you figure out transfers to every other system.

Skip it if the machine’s main job is being a multi-drive NAS for the household — a platform will manage pools, shares, and scrubs better than your shell history will. The platform comparison shows where each option’s effort actually goes.

Official documentation and references

Frequently asked questions

Debian or Ubuntu for a Docker server?

Either is fine. Debian is the leaner, slower-moving default and what most NAS platforms are built on; Ubuntu LTS offers newer kernels and hardware support and a larger tutorial footprint. Pick the one you already know a little — the Docker experience on top is identical.

Should I use the Docker convenience script to install?

Not on a machine you plan to keep. Docker’s own documentation reserves the get.docker.com script for testing and evaluation. The apt repository method installs the same software as normal packages (docker-ce, containerd.io, and the compose and buildx plugins) that update through your regular system updates.

How much RAM does a plain Docker host need?

Docker itself publishes no minimum; in practice the operating system plus Docker idles in a few hundred megabytes, and services decide the rest. A 4 GB machine runs a typical handful of home services comfortably; 8 GB leaves room to grow. Storage and CPU needs come from your services, not the platform.

Can a plain Debian box also be my NAS?

Yes, with the understanding that you configure shares, permissions, and any RAID yourself — Samba and NFS are standard packages, and mdadm or ZFS are available. If the box is storage-first for the whole household, a platform like TrueNAS or OpenMediaVault manages those pieces more safely than hand-maintained configuration.

Related guides