Docker & DevOps
Containers, Git deploys, automation, monitoring and backups.
Run a Telegram bot with Docker and auto-restart it
Containerise a Telegram bot, keep it running with a Docker restart policy, and read the logs when something breaks.
- Beginner
- Linux VPS
- 5 min read
Update self-hosted containers safely with Watchtower
Watchtower pulls new images and restarts your containers on a schedule. This guide covers monitor-only runs, allowlists, notifications and settings that keep updates reversible.
- Intermediate
- Linux VPS
- 5 min read
Run a private Docker registry on your VPS
Host your own private Docker registry with the official registry image. Add TLS through a reverse proxy and basic auth, push and pull images, run garbage collection and size the storage.
- Advanced
- Linux VPS
- 5 min read
Monitor Docker containers with Prometheus, cAdvisor and Grafana
Run cAdvisor, Prometheus and Grafana in Docker Compose on a Linux VPS and get per-container CPU, memory, network and disk graphs in one dashboard.
- Advanced
- Linux VPS
- 6 min read
Docker Compose depends_on and healthchecks: get startup order right
Use depends_on with condition: service_healthy so your app waits until the database accepts connections, and learn how to tune healthcheck timing without slowing every start.
- Intermediate
- Linux VPS
- 7 min read
Free disk space with docker system prune
Find out how much space Docker uses with docker system df, then safely prune unused images, build cache, stopped containers and volumes, and schedule a cleanup that never touches your data.
- Beginner
- Linux VPS
- 5 min read
Self-host Nextcloud with Docker Compose, MariaDB and Redis
Run Nextcloud, MariaDB and Redis as containers on one Linux VPS. Build the compose file, set trusted domains and verify the stack end to end.
- Intermediate
- Linux VPS
- 5 min read
Host a Minecraft Server with Docker Compose on a Linux VPS
Run a Java Edition Minecraft server in Docker Compose on a Linux VPS, with a persistent world volume, memory limits, a whitelist and a plain backup routine.
- Beginner
- Linux VPS
- 5 min read
Self-host Uptime Kuma for uptime and alert monitoring
Install Uptime Kuma on a Linux VPS with Docker, add HTTP and TCP monitors, and route alerts to email or Telegram.
- Beginner
- Linux VPS
- 7 min read
Self-host n8n workflow automation with Docker
Run n8n on your own Linux VPS with Docker Compose and PostgreSQL, then publish the editor over HTTPS behind a reverse proxy.
- Intermediate
- Linux VPS
- 6 min read
Back up MySQL and PostgreSQL databases in Docker containers
Dump MySQL, MariaDB and PostgreSQL databases that run inside Docker containers, compress the files, and ship them off the server with restic.
- Intermediate
- Linux VPS
- 7 min read
Schedule restic backups with systemd timers on a Linux VPS
Create a restic backup script, a oneshot systemd service and a timer unit so your Linux VPS backs itself up on a fixed schedule, with logs you can read in journalctl.
- Intermediate
- Linux VPS
- 3 min read
Nginx Proxy Manager in Docker: HTTPS for many self-hosted apps
Run Nginx Proxy Manager in Docker, add proxy hosts for each app and issue free Let's Encrypt certificates from a single web UI.
- Intermediate
- Linux VPS
- 3 min read
Docker run flags you will actually use (-d, -p, -v, -e, --restart)
The docker run options that matter on a VPS, explained with examples. Covers detached mode, port publishing, volumes, environment variables, names, restart policies and resource limits.
- Beginner
- Linux VPS
- 5 min read
Open a shell inside a running Docker container
Use docker exec to get a bash or sh shell inside a running container, run one-off commands, act as root or another user, and copy files in and out with docker cp.
- Beginner
- Linux VPS
- 5 min read
Deploy from GitHub Actions to your VPS over SSH
Create a dedicated deploy user, store its SSH key as a GitHub secret and run a workflow that ships your code to the VPS on every push.
- Intermediate
- Linux VPS
- 6 min read
Encrypted off-site backups with restic: init, snapshot, restore
Set up restic encrypted backups on a Linux VPS — initialise a repository on a second host, take snapshots, list them, and restore data to a fresh server.
- Intermediate
- Linux VPS
- 6 min read
Docker Compose for WordPress: Nginx, PHP-FPM and MariaDB
Build a WordPress stack with Docker Compose using separate Nginx, PHP-FPM and MariaDB containers, a persistent wp-content volume and a free Let's Encrypt certificate.
- Intermediate
- Linux VPS
- 6 min read
Run a Discord Bot 24/7 on a VPS with Docker
Keep your Discord bot online around the clock by packaging it in a Docker image, passing the token as an environment variable and letting a restart policy bring it back after crashes or reboots.
- Beginner
- Linux VPS
- 5 min read
Push images to Docker Hub or GitHub Container Registry
Publish your own Docker images to Docker Hub or GitHub Container Registry. Log in with access tokens, tag images properly, keep them private and pull them on your VPS.
- Beginner
- Linux VPS
- 5 min read
Docker security checklist for a public VPS
A practical Docker hardening checklist for an internet-facing VPS. Run images as non-root, use read-only filesystems, drop capabilities, never expose the daemon socket, scan images and keep them updated.
- Intermediate
- Linux VPS
- 5 min read
Docker basics: containers, images and registries explained
A plain-English introduction to Docker for VPS owners. Learn what images, containers, tags and registries are, how docker run differs from Compose, and when containers suit a small server.
- Beginner
- Linux VPS
- 5 min read
Update Docker containers safely (manually or with Watchtower)
How to update Docker containers on a VPS without surprises. Pull and recreate with Compose, pin tags, roll back a bad update, and decide whether automatic updates with Watchtower suit your server.
- Intermediate
- Linux VPS
- 5 min read
Smaller Docker images with multi-stage builds
Use Docker multi-stage builds to separate build tools from the runtime image. Worked examples for Node.js, Go and Python, plus slim base images and layer caching tips.
- Intermediate
- Linux VPS
- 5 min read
Run Docker in rootless mode on Ubuntu
Set up Docker rootless mode on Ubuntu so the daemon and containers run as a normal user. Covers the setup tool, the user systemd service, ports below 1024, storage and the trade-offs.
- Advanced
- 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