When Docker Fills Your Server’s Disk: Finding the Culprit and Cleaning Up Safely
Unused images, build cache, orphaned volumes and unbounded logs: measure what takes the space first, then free it without losing data.
Topic
Docker and Docker Compose tutorials: installing, building images, networking, volumes, backups and running containers in production.
Unused images, build cache, orphaned volumes and unbounded logs: measure what takes the space first, then free it without losing data.
Three cheap layers of real monitoring: docker ps and stats, log rotation with json-file and max-size, and cAdvisor for live graphs.
Ports published with -p slip past UFW. Why it happens in iptables, a simple experiment that shows the problem, and three fixes from simple to complete.
One nginx at the edge of the server, proxy_pass to service names, the X-Forwarded headers, and simple paths to HTTPS.
Two ways to use docker.arvancloud.ir: prefixing image names, or registry-mirrors in daemon.json, following ArvanCloud's official documentation.
Consistent dumps with --single-transaction, restoring, scheduling with cron, and three rules that make a backup something you can rely on.
Use two FROM lines to keep build tools out of the final image, plus .dockerignore and layer ordering for better caching.
Run as non-root, avoid --privileged, drop capabilities, use read-only filesystems, secrets and resource limits: a real hardening checklist.
Why containers on the default bridge only find each other by IP, and how a Compose network resolves service names with built-in DNS.
Enter Search · Esc Close · / open from any page