Guides tagged “docker”
Step-by-step MdmHost guides about docker, sorted A-Z.
73 guides · page 2 of 4
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.
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.
Emulation vs virtualization: run ARM VMs and binaries on x86 with QEMU
Understand the difference between emulation and virtualization, run an ARM64 VM on an x86 host with QEMU TCG, run foreign binaries with qemu-user and binfmt, and build multi-arch Docker images.
Fix "permission denied" on the Docker socket
Fix the "permission denied while trying to connect to the Docker daemon socket" error. Add your user to the docker group, apply it without rebooting, and understand the security trade-off versus sudo.
Fix a Docker container that exits immediately
Find out why a Docker container stops right after it starts. Read logs and exit codes, then fix missing environment variables, a wrong command, background processes and restart loops.
Fix Docker "exec format error" (ARM vs x86 images)
Fix 'exec /usr/local/bin/docker-entrypoint.sh: exec format error' and platform mismatch warnings by building multi-architecture images or pulling the right platform.
Fix Docker daemon not starting
Docker service failed to start? Read the real error with journalctl, then fix an invalid daemon.json, conflicting options, storage driver and overlay errors, a full disk or iptables problems.
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.
Free up disk space on a Linux VPS
Find what is using space, then safely clear package caches, systemd journal logs, old Docker data and large log files without breaking running services.
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.
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.
Install Docker and Docker Compose on a Linux VPS
Install Docker Engine and the Compose plugin from Docker's own repository, run a first Compose project, cap log size and avoid exposing ports by accident.
Install Docker Engine and Docker Compose on a Linux VPS
Install Docker Engine and the Compose plugin from Docker's official repository on Ubuntu, Debian, AlmaLinux or Rocky, set log limits and run your first container.
Install Nextcloud on a Linux VPS (manual or Docker AIO)
Self-host Nextcloud on a VPS: choose between the Docker All-in-One image and a manual LEMP install, then configure cron, Redis caching, upload limits and security checks.
Install Portainer to manage Docker containers from a web UI
Run Portainer CE on your Docker VPS, secure it with HTTPS and use it to start, stop, update and inspect containers, stacks, volumes and networks.
Kubernetes basics: run k3s on a single VPS
Learn core Kubernetes concepts (pods, deployments, services, ingress) by installing lightweight k3s on one VPS and deploying a web app with kubectl.
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.
Manage Proxmox LXC containers: resources, mounts and unprivileged mode
Run Proxmox LXC containers well: privileged vs unprivileged, changing CPU, RAM and disk, bind mounts for shared data, nesting for Docker, and container backups.
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.
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.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.83 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.67 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.53 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.49 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.67 guides
- DomainsRegistering, transferring and managing domains and nameservers.27 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.41 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.35 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.24 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.24 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.28 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.44 guides
- PleskWebsites, email, databases and settings in the Plesk panel.53 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.41 guides
- WHMCSBilling, automation, products and client management with WHMCS.52 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.107 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.138 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.72 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.83 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.80 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.127 guides
- Linux VPSSSH, packages, services and everyday Linux administration.265 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.73 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.82 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.
