Latest

Docker and Portainer: from an Ubuntu server to your first containers, step by step

This section takes you step by step from an installation USB stick to a small server running services in containers: first Ubuntu Server, then Docker and its Compose tool, then the Portainer web interface and finally two useful services for the whole home or office, the AdGuard Home and Pi-hole DNS filters. The guides are written for people who know their way around a PC but have never used Docker: every command is explained, every step that changes the system is flagged, and there is always a way back.

Why containers

A container is a program packaged with everything it needs to run, isolated from the rest of the system. Instead of installing a service “into” the server, with its dependencies and scattered files, you start it from a ready-made image and keep its data in a specific folder. The result is a tidier server: updating a service means pulling the new image, removing it means deleting the container, moving it to another machine means copying a folder and a text file.

Without containers With Docker
Each program installs libraries into the system and may clash with others Each service has its libraries inside its image
Configuration and data spread across many folders One folder per service, easy to back up
Updating or uninstalling can leave leftovers You recreate or delete the container; data stays where you put it
Rebuilding the server means remembering every step The compose file describes the service and recreates it identically

The path, step by step

The guides are meant to be followed in order: each one starts where the previous one stopped. They come out every other day; those not yet published show their release date.

  1. Ubuntu Server 26.04 LTS for Docker: installation, static IP, SSH access and updatesInstall Ubuntu Server 26.04 LTS for Docker: installer choices, static IP with netplan, SSH key login, automatic updates and the firewall caveat.
  2. Installing Docker Engine and Docker Compose on Ubuntu Server from the official repositoryInstall Docker Engine and Compose on Ubuntu 26.04 from the official repository: GPG key, packages, hello-world, docker group, logs and a first container.
  3. Docker in practice: images, containers, volumes, networks, ports and the compose.yaml fileImages, containers, volumes and networks explained with a complete compose.yaml example: published ports, bind mounts, .env file, restart and cleanup.
  4. Installing Portainer CE on Docker: setup token, first login, local environment and stacksComing on 25 November 2026
  5. AdGuard Home in Docker with Portainer: freeing port 53, creating the stack and filtering your home networkComing on 27 November 2026
  6. Pi-hole in Docker with Portainer: stack, secure password, upstreams and first rulesComing on 29 November 2026
  7. Updating, backing up and fixing containers: updates, backups and common problems with Docker and PortainerComing on 1 December 2026

What you need

What Notes
A computer for the server A mini PC, an old PC or a virtual machine: 2 cores, 4 GB of RAM and 32 GB of disk are enough
Network A wired connection to the router and the ability to change the DNS handed out by the router (for the last part)
A PC to manage it Windows, macOS or Linux, with a terminal for SSH and a browser for Portainer
A USB stick At least 4 GB, only if you install on a physical computer
Time About an hour per guide, including testing

How these guides are made

  • Official sources: commands and procedures come from the Ubuntu, Docker, Portainer, AdGuard Home and Pi-hole documentation, checked in November 2026 and listed at the end of each guide.
  • Reconstructed screenshots: terminal images are reconstructed and labelled as such; names, addresses and IDs are examples.
  • Security first: no ports open to the internet, SSH with keys, strong passwords and attention to the permissions Docker and Portainer grant.
  • Always reversible: when a step changes the server configuration, we say how to check the result and how to undo it.

To report an error or suggest a topic, write to us from the Contact page.