Docker & Kubernetes Cheatsheets
Container commands, Dockerfile best practices, K8s resource types, kubectl commands, Helm charts, and troubleshooting guides.
📄 Product Preview
Try the interactive reader and demo tools below, or get the full product with all content unlocked.
📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample📁 File Structure 3 files
📖 Documentation Preview README excerpt
Docker & Kubernetes Cheatsheets
Version: 2.0.0 | Price: $15 | Format: Markdown + HTML + YAML examples
Overview
A comprehensive, print-ready quick reference for container professionals. Covers the full Docker and Kubernetes ecosystem: Docker CLI, Dockerfile best practices, Docker Compose, Kubernetes resource types, kubectl commands, Helm chart management, and production troubleshooting guides.
Designed for developers, DevOps engineers, and SREs who work with containers daily and need a reliable desk reference.
Who Is This For?
- Backend developers deploying containerized applications
- DevOps engineers managing container orchestration in production
- SREs troubleshooting container and Kubernetes incidents
- Team leads standardizing container practices across teams
What's Inside
Cheatsheet Files (`cheatsheets/`)
| File | Topics Covered |
|---|---|
01-docker-cli.md | Container lifecycle, image management, volumes, logs, exec, inspect, system commands |
02-dockerfile-best-practices.md | Multi-stage builds, layer caching, security hardening, size optimization, linting |
03-docker-compose.md | Service definitions, networking, volumes, health checks, profiles, environment management |
04-docker-networking.md | Bridge, host, overlay networks, DNS resolution, port mapping, network troubleshooting |
05-kubernetes-resources.md | Pods, Deployments, Services, ConfigMaps, Secrets, PVCs, Ingress, RBAC, CRDs, HPA |
06-kubectl-commands.md | Resource CRUD, logs, exec, port-forward, rollout, context switching, output formatting |
07-helm-charts.md | Chart structure, install/upgrade/rollback, values files, repositories, hooks, testing |
08-troubleshooting.md | CrashLoopBackOff, OOMKilled, ImagePullBackOff, networking, DNS, resource limits, debugging |
Example Files (`examples/`)
| File | Description |
|---|---|
Dockerfile | Production-ready multi-stage Python app Dockerfile with security best practices |
docker-compose.yml | Full-stack application with web, API, database, and cache services |
k8s-deployment.yaml | Production Kubernetes Deployment with health checks, resources, and anti-affinity |
k8s-service-ingress.yaml | ClusterIP Service + Ingress with TLS termination |
Quick Reference (`cheatsheet.html`)
A single self-contained HTML page with the most essential Docker and Kubernetes commands in a printable format. Open in any browser, print to PDF, or pin to your second monitor.
How to Use
1. Unzip the product to any directory
2. Browse the cheatsheets/ folder for topic-specific references
3. Open cheatsheet.html in your browser for a printable quick reference
4. Copy files from examples/ as starting points for your projects
5. Search within markdown files using your editor's find function (all content is plain text)
Format Notes
- All cheatsheets are GitHub-flavored Markdown — viewable in any editor, IDE, or markdown renderer
- Tables use standard pipe syntax for maximum compatibility
- Code blocks use fenced syntax with language tags for syntax highlighting
- The HTML file is fully self-contained (inline CSS, zero external dependencies)
... continues with setup instructions, usage examples, and more.