Do I need Kubernetes, or is one Docker host enough?
For most self-hosted stacks, one Docker host is enough. If your services fit on one machine and a few minutes of downtime during a reboot is acceptable, Docker Compose gives you versioned, repeatable deployments with a fraction of the moving parts. Move to a cluster when you need zero-downtime node maintenance or more capacity than one box can hold; until then, a single machine is cheaper and easier to reason about.
How much machine does a Docker host need?
Add up the memory first, because containers share the CPU gracefully but run out of RAM hard. A rough budget for common stacks:
- A small web app with its database: 1 to 2 GB.
- A Git forge, a wiki, a chat server or a password manager: 0.5 to 2 GB each.
- A monitoring stack with a time series database and dashboards: 2 to 4 GB.
- Leave 2 GB for the operating system and the Docker daemon itself.
Ten to fifteen typical services land between 12 and 25 GB. That fits on E2 with 32 GB DDR3 for $38.32, ordered for three months at $114.96. If the list keeps growing, S1 doubles the memory to 64 GB, adds NVMe and costs $53.32 with no minimum term beyond one month.
Why does disk type matter for containers?
Docker stores images and container layers with the overlay2 driver, and pulling or building images is a storm of small file writes. On NVMe that storm is over in seconds. The Entry Xeon boxes use SATA SSDs, which are fine for steady services; the Single CPU line uses NVMe, which keeps image builds and database containers quick. For anything with a database volume, a two-drive machine such as S3 (2x 1 TB NVMe) lets you mirror the data with Linux software RAID.
How do many containers share one public IPv4 address?
Put a reverse proxy in front. Caddy, Traefik or nginx listens on ports 80 and 443, terminates TLS and forwards each hostname to the right container on an internal Docker network. Because HTTPS uses SNI, a single address can serve certificates for hundreds of hostnames. Only the proxy publishes ports to the outside; every other container stays on internal networks, which also shrinks the attack surface.
services:
proxy:
image: caddy:2
ports: ["80:80", "443:443"]
volumes: ["./Caddyfile:/etc/caddy/Caddyfile", "caddy:/data"]
app:
image: registry.example.com/shop/web:stable
expose: ["8080"]
volumes:
caddy: {}
What should I set up on day one?
- Log in with an SSH key and turn off password logins.
- Remember that Docker writes its own iptables rules: a published port bypasses ufw, so publish only what the proxy needs.
- Cap log size in /etc/docker/daemon.json so container logs never fill the disk.
- Back up named volumes to storage in another city on a schedule.
When does a bigger box pay off?
When builds are slow. CI jobs and image builds use every core you give them. The S11 pairs an Intel Core i9-14900K with 24 cores and 32 threads with 128 GB DDR5 for $149.39, which turns a ten-minute build into a coffee break. For memory-hungry stacks, S5 keeps the 6-core Xeon but carries 128 GB DDR4 for $88.72.
Machines for a Docker Host
Monthly prices are the same in all six cities. The smallest order is the shortest term that reaches the $40 minimum.
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| E1 | Intel Xeon E3-1240 v3 | 4 / 8 | 16 GB DDR3 | 2x 240 GB SSD | 2x 1 Gbps | $30.52 | $91.56 (3 months) |
| E2 | Intel Xeon E3-1270 v3 | 4 / 8 | 32 GB DDR3 | 1x 480 GB SSD | 2x 1 Gbps | $38.32 | $114.96 (3 months) |
| S1 | Intel Xeon E-2276G | 6 / 12 | 64 GB DDR4 | 1x 1 TB NVMe | 2x 10 Gbps | $53.32 | $53.32 (1 month) |
| S3 | Intel Xeon E-2356G | 6 / 12 | 64 GB DDR4 | 2x 1 TB NVMe | 2x 10 Gbps | $80.38 | $80.38 (1 month) |
| S5 | Intel Xeon E-2276G | 6 / 12 | 128 GB DDR4 | 2x 1 TB NVMe | 2x 10 Gbps | $88.72 | $88.72 (1 month) |
| S11 | Intel Core i9-14900K | 24 / 32 | 128 GB DDR5 | 2x 2 TB NVMe | 2x 10 Gbps | $149.39 | $149.39 (1 month) |
FAQ
Quick Answers
E1 at $30.52 a month runs a handful of light containers. With a three-month minimum the first order is $91.56.
Yes. The Ampere machines install arm64 images, and most popular container images are published for arm64 as well as amd64.
Yes. Swarm overlay networks work across public addresses; enable encryption on the overlay network because the traffic crosses the internet.
Ubuntu 24.04 LTS and Debian 13 have the most up-to-date Docker packages and guides. Both are free images on every x86 and Arm machine.
Run a reverse proxy such as Caddy or Traefik on ports 80 and 443 and route each hostname to its container. HTTPS SNI lets every site keep its own certificate.