Docker & DevOps
Containers, Git deploys, automation, monitoring and backups.
58 guides · page 3 of 3
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Other topics
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
