Docker & DevOps
Containers, Git deploys, automation, monitoring and backups.
Self-host Jellyfin with Docker and hardware transcoding
Install Jellyfin in Docker on a Linux VPS, mount your media library, publish it over HTTPS and switch on hardware transcoding with VAAPI or Intel Quick Sync.
- Intermediate
- Linux VPS
- 6 min read
Deploy a Self-Hosted App with Docker Compose from Scratch
Write a compose.yaml, keep your secrets in .env, start the stack with docker compose up -d, then verify it and update it later without losing data.
- Beginner
- Linux VPS
- 7 min read
Manage secrets and environment variables in Docker Compose
Keep API keys and database passwords out of your compose file using .env files, environment keys and Docker secrets, then confirm containers read them correctly.
- Intermediate
- Linux VPS
- 7 min read
Docker restart policies: keep containers running after a reboot
How Docker's restart policies work, what no, on-failure, always and unless-stopped do after a crash or VPS reboot, and how to change the policy on a container that is already running.
- Beginner
- Linux VPS
- 5 min read
Zero-downtime deploys with Docker Compose and a reverse proxy
Run blue-green container swaps behind Nginx so every deploy keeps serving traffic. Health checks gate the switch, and a reload moves traffic without dropping connections.
- Advanced
- Linux VPS
- 6 min read
Add health checks to Docker containers
Write Docker health checks in a Dockerfile or Compose file, read a container's health status, start services in order with service_healthy, and understand how health relates to restarts.
- Intermediate
- Linux VPS
- 5 min read
Sync VPS backups to Backblaze B2 or Google Drive with rclone
Install rclone on a Linux VPS, connect a Backblaze B2 or Google Drive remote, sync your backup folder off-site on a schedule and confirm the copy with rclone check.
- Intermediate
- Linux VPS
- 7 min read
Centralise Docker logs with Loki and Promtail on a Linux VPS
Run Loki and Promtail in Docker Compose to collect container logs from every service on one server, then search and filter them in Grafana with LogQL.
- Advanced
- Linux VPS
- 7 min read
Docker Compose override files: separate dev and production configs
Keep one base Compose file and layer per-environment settings with a dev override file and a production file, merged with -f or COMPOSE_FILE.
- Intermediate
- Linux VPS
- 6 min read
Self-host Gitea with Docker for your own private Git server
Run Gitea in Docker on a Linux VPS with its own SSH and HTTP ports, then push your first repository over SSH.
- Intermediate
- Linux VPS
- 7 min read
Self-host Vaultwarden with Docker Compose and HTTPS
Run a Bitwarden-compatible Vaultwarden server in Docker Compose on a Linux VPS, put HTTPS in front of it, lock down signups and set up a backup you can restore.
- Intermediate
- Linux VPS
- 7 min read
Move Docker data root to another disk or path
Move Docker's data from /var/lib/docker to a bigger disk. Stop the daemon, copy the data, set data-root in daemon.json, handle the containerd image store and verify images and volumes survived.
- Intermediate
- Linux VPS
- 5 min read
Restore a single file or folder from a restic snapshot
Find the right restic snapshot, restore just one file or directory to a temporary path, and put it back in place without running a full restore.
- Beginner
- Linux VPS
- 5 min read
Docker Compose file explained: services, volumes, networks and ports
A line-by-line walk through docker-compose.yml: what services, volumes, networks, ports and depends_on do, with a working example stack you can run on a Linux VPS.
- Beginner
- Linux VPS
- 7 min read
Write a Dockerfile and build your first image
A step-by-step Dockerfile tutorial. Write FROM, RUN, COPY and CMD instructions for a small web app, add a .dockerignore, build and tag the image on your VPS and test the container.
- Beginner
- Linux VPS
- 5 min read
Set up a GitLab Runner on a VPS for your own CI/CD
Install GitLab Runner on your Linux VPS, register it against a GitLab project with an authentication token, and run a first pipeline with the Docker or shell executor.
- Advanced
- Linux VPS
- 5 min read
Traefik in Docker: automatic SSL and routing by container labels
Run Traefik as a Docker container, get free Let's Encrypt certificates automatically, and route traffic to your apps by adding a few labels to each container.
- Advanced
- Linux VPS
- 6 min read
Build and push Docker images with GitHub Actions
Set up a GitHub Actions workflow that builds your Docker image on every push and pushes it to GitHub Container Registry or Docker Hub, with tags and layer caching.
- Intermediate
- Linux VPS
- 5 min read
Self-host Home Assistant in Docker on a Linux VPS
Run the official Home Assistant container on a Linux VPS with host networking and a persistent config volume, then reach the dashboard safely from outside your network.
- Intermediate
- Linux VPS
- 6 min read
Back up Docker volumes with restic and restore them
Docker named volumes live under /var/lib/docker/volumes. This guide shows how to snapshot them with restic, verify the snapshot and restore it into a new volume.
- Intermediate
- Linux VPS
- 6 min read
Roll back a bad deploy using Docker image tags
Tag every release, pin the version in your Compose file, and switch back to the previous image when a deploy breaks production. Includes verification and rollback of the database step.
- Intermediate
- Linux VPS
- 6 min read
Host a Valheim Dedicated Server with Docker
Run a Valheim dedicated server with Docker on a Linux VPS — compose file, UDP ports, persistent world data and safe updates.
- Intermediate
- Linux VPS
- 6 min read
View and rotate Docker container logs
Read, follow and filter Docker container logs, then set log rotation with max-size and max-file so container logs never fill your VPS disk again.
- Beginner
- Linux VPS
- 4 min read
Docker networks: bridge, host and custom networks explained
How Docker networking works on a VPS. Covers the default bridge, user-defined networks with built-in DNS, host mode, connecting containers across Compose projects and inspecting networks.
- Intermediate
- Linux VPS
- 5 min read
Limit Docker container CPU and memory
Stop one container from slowing down your whole VPS. Set memory and CPU limits with docker run and Docker Compose, watch usage with docker stats and avoid out-of-memory kills.
- Intermediate
- Linux VPS
- 5 min read
Self-host Immich for photo backups with Docker Compose
Deploy Immich on a Linux VPS with Docker Compose, connect the mobile app for automatic photo uploads, and back up the library off-site.
- Intermediate
- Linux VPS
- 7 min read
Monitor your VPS with node_exporter and Grafana dashboards
Install node_exporter on a Linux VPS, scrape it with Prometheus and build a Grafana dashboard so you can see CPU, memory, disk and network history instead of guessing.
- Intermediate
- Linux VPS
- 6 min read
Alert when a Docker container restarts or exits
Watch Docker restart counts and exit codes with a small script and a systemd timer, then send a Telegram, email or webhook notification when a container restarts or dies.
- Intermediate
- Linux VPS
- 6 min read
Git push-to-deploy with a bare repository and post-receive hook
Set up a bare Git repository on your Linux VPS and a post-receive hook so that every push checks out your code into the live directory and restarts the service.
- Intermediate
- Linux VPS
- 6 min read
Docker volumes vs bind mounts: store container data safely
Learn the difference between Docker named volumes and bind mounts, how to create, inspect and back up volumes, fix file permissions on bind mounts and find where the data lives on disk.
- Intermediate
- Linux VPS
- 5 min read
Other topics
- Getting startedYour first hour with a new server: access, logins and basics.66 guides
- Linux VPSSSH, packages, services and everyday Linux administration.41 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.53 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.86 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.15 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.101 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.44 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.56 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.55 guides
- Billing & accountInvoices, renewals, the client area and your account.7 guides
- TroubleshootingWhen something is not working: checks and fixes.43 guides