← Back to all products

Docker & Kubernetes Cheatsheets

$15

Container commands, Dockerfile best practices, K8s resource types, kubectl commands, Helm charts, and troubleshooting guides.

📁 3 files🏷 v1.0.0
DockerMarkdownJSONYAMLKubernetes

📄 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

docker-kubernetes-cheatsheets/ ├── LICENSE ├── README.md └── config.example.yaml

📖 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/`)

FileTopics Covered
01-docker-cli.mdContainer lifecycle, image management, volumes, logs, exec, inspect, system commands
02-dockerfile-best-practices.mdMulti-stage builds, layer caching, security hardening, size optimization, linting
03-docker-compose.mdService definitions, networking, volumes, health checks, profiles, environment management
04-docker-networking.mdBridge, host, overlay networks, DNS resolution, port mapping, network troubleshooting
05-kubernetes-resources.mdPods, Deployments, Services, ConfigMaps, Secrets, PVCs, Ingress, RBAC, CRDs, HPA
06-kubectl-commands.mdResource CRUD, logs, exec, port-forward, rollout, context switching, output formatting
07-helm-charts.mdChart structure, install/upgrade/rollback, values files, repositories, hooks, testing
08-troubleshooting.mdCrashLoopBackOff, OOMKilled, ImagePullBackOff, networking, DNS, resource limits, debugging

Example Files (`examples/`)

FileDescription
DockerfileProduction-ready multi-stage Python app Dockerfile with security best practices
docker-compose.ymlFull-stack application with web, API, database, and cache services
k8s-deployment.yamlProduction Kubernetes Deployment with health checks, resources, and anti-affinity
k8s-service-ingress.yamlClusterIP 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.

📄 Code Sample .yml preview

examples/docker-compose.yml # ============================================================================= # Docker Compose — Full-Stack Application Example # ============================================================================= # A production-ready compose file demonstrating: # - Multi-service architecture (web UI, API, database, cache) # - Health checks and dependency ordering # - Named volumes for data persistence # - Network segmentation (frontend / backend) # - Resource limits and logging configuration # # Usage: # docker compose up -d # Start all services # docker compose logs -f api # Follow API logs # docker compose down # Stop (preserves data) # docker compose down -v # Stop and DELETE all data # ============================================================================= services: # --------------------------------------------------------------------------- # Reverse Proxy / Web Server # --------------------------------------------------------------------------- # Nginx serves static files and proxies API requests. # Only this service exposes ports to the host. nginx: image: nginx:1.25-alpine container_name: app-nginx restart: unless-stopped ports: - "80:80" # HTTP — only externally exposed port - "443:443" # HTTPS (if TLS configured) volumes: - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro - ./nginx/certs:/etc/nginx/certs:ro - static-files:/usr/share/nginx/html:ro networks: - frontend depends_on: api: condition: service_healthy logging: driver: json-file options: max-size: "10m" max-file: "3" # --------------------------------------------------------------------------- # Application API # --------------------------------------------------------------------------- # Python web API. Connects to both frontend (receives traffic from nginx) # and backend (talks to database and cache) networks. # ... 133 more lines ...
Buy Now — $15 Back to Products