35 articles
Knowledge Base
Docker
35 articles in the Docker category · page 2 of 2.
- Docker prune and cleanup — reclaim disk safely How and when to use docker system prune, image prune, and volume prune. The filters that protect production state and the cron that keeps /var/lib/docker bounded.
- Docker networks — bridge, host, and user-defined A practical map of Docker network modes — what bridge, host, none, and user-defined bridges actually do, when to use each, and the pitfalls that bite in production.
- Docker Compose basics — services, networks, volumes A grounding tour of Docker Compose v2 — the file structure, the most useful commands, and the conventions that distinguish a tutorial compose file from one you ship.
- Install Docker on Ubuntu — the production-grade path Install Docker Engine on Ubuntu the way it should be installed in production — official apt repo, GPG verification, daemon tuning, and post-install validation.
- Docker overlay networks and Swarm — multi-host container networking How Docker overlay networks span hosts via VXLAN, the encrypted-data-path option, and the Swarm bits you need (init, join, services) to make them work.
- Self-hosting a Docker registry — Distribution and Harbor When to run your own container registry, how to deploy Distribution behind TLS and auth, and when to escalate to Harbor for scanning, RBAC, and replication.
- Docker image security scanning with Trivy and Grype Scan container images for CVEs at build time, on push, and on a schedule. How to wire Trivy and Grype into CI, set thresholds, and act on findings.
- Docker Compose in production — what changes from dev The compose.yaml you ship to production is not the one from your dev machine. Restart policies, health checks, resource limits, log rotation, secrets, and the deploy story.
- Watchtower for Docker auto-updates — when it fits, when it bites Watchtower polls a registry and restarts containers when new images land. The right setup for homelabs and small fleets, the reasons it has no place in regulated production.
- Docker volumes vs bind mounts — when to use each Volumes and bind mounts both put files into a container. They have different ownership, portability, performance, and backup characteristics. How to pick the right one.
- Docker user namespaces — remap container root to a host UID Enable user namespace remapping to keep container root from being host root. The daemon config, the trade-offs around volumes, and when to use rootless Docker instead.