DevOps, Docker and Kubernetes
I work as a DevOps and infrastructure lead, and I run SecureBin myself on Cloudflare Workers. This hub is the working knowledge behind both: containers, Kubernetes, pipelines, web servers and caching, and the Linux, SSH and Git work around all of it.
Where a guide shows output, it was run for that guide, on my own machine or against this site, and the guide says so. The older guides are being reworked one at a time, and the reworked ones are listed first.
Start here
How containers talk to each other, how Kubernetes handles secrets (and why its defaults aren't enough on their own), and the baseline hardening for a cluster.
Docker Networking Explained: Bridge, Host and Overlay (2026)
Docker networking explained: bridge, host, overlay, macvlan, and none networks. Learn port mapping, DNS resolution, custom networks, and how to configure Docker Compose networking correctly.
Kubernetes Secrets Management: Complete Guide for Production
K8s secrets done right: base64 gotcha, RBAC, External Secrets Operator, Sealed Secrets, Vault integration, AWS SM, and rotation strategies.
Kubernetes Security Best Practices: Harden Your Cluster (2026)
RBAC, pod security standards, network policies, secrets management, image scanning, and runtime security with real YAML configuration examples.
Docker
Images, Compose, volumes, networks and environment variables, from first container to a setup you'd trust with data. The docker run to Compose converter turns a long command into a Compose file.
Docker Cheat Sheet 2026: Commands, Dockerfile, and Compose
Container lifecycle, multi-stage Dockerfiles, Compose patterns, networking, volumes, and debugging.
Dockerfile Best Practices 2026: Smaller, Faster, More Secure Images
Dockerfile best practices for smaller, faster, and more secure Docker images. Covers multi-stage builds, layer caching, non-root users, .dockerignore, health checks, and security scanning with real examples.
Docker Multi Stage Builds: Cut Image Size by 90% (2026 Guide)
Learn how Docker multi-stage builds shrink production images by 80%+. Step-by-step examples for Node.js, Go, and Python with build optimization tips.
Docker Networking Explained: Bridge, Host and Overlay (2026)
Docker networking explained: bridge, host, overlay, macvlan, and none networks. Learn port mapping, DNS resolution, custom networks, and how to configure Docker Compose networking correctly.
Docker Volumes Explained: Persist Data the Right Way (2026)
Docker volumes explained: named volumes, bind mounts, tmpfs, volume drivers, backup and restore strategies. Learn how to persist data correctly across container restarts and deployments.
Docker Environment Variables: Complete Guide with Examples
docker run -e, docker-compose env_file, ARG vs ENV, BuildKit secrets, multi-stage builds, K8s ConfigMaps, and security best practices.
Docker Compose Tutorial: Multi-Container Apps Made Easy (2026)
Complete Docker Compose tutorial: learn docker-compose.yml from scratch, multi-container apps, networks, volumes, health checks, environment variables, and production patterns with real examples.
Convert docker run to docker-compose.yml (Step-by-Step)
Convert docker run to docker-compose.yml step by step. Complete flag mapping cheat sheet: -p ports, -v volumes, -e env vars, --name, --restart, --network, --entrypoint, and more.
Kubernetes vs Docker Compose: Which One Do You Need? (2026)
Kubernetes vs Docker Compose: detailed comparison of complexity, scaling, use cases, networking, secrets, and when to migrate from Compose to K8s. With real examples of both.
Kubernetes
Secrets, ConfigMaps, security baselines and debugging pods without exposing what's inside them. Plus when Kubernetes is more than you need and Compose is the honest answer.
Kubernetes Basics: Pods, Deployments, Services
K8s without jargon: pods, deployments, services, ingress, ConfigMaps, Secrets, and kubectl.
Kubernetes Secrets Management: Complete Guide for Production
K8s secrets done right: base64 gotcha, RBAC, External Secrets Operator, Sealed Secrets, Vault integration, AWS SM, and rotation strategies.
Kubernetes ConfigMaps & Secrets: Complete Guide
Kubernetes ConfigMaps and Secrets complete guide: creation, mounting as files, injecting as environment variables, updating without restarts, external secret managers, and security best practices.
Kubernetes Security Best Practices: Harden Your Cluster (2026)
RBAC, pod security standards, network policies, secrets management, image scanning, and runtime security with real YAML configuration examples.
Kubernetes Ingress Explained: Route Traffic Like a Pro
Kubernetes Ingress explained: how Ingress resources and controllers work, path-based and host-based routing, TLS termination, Nginx Ingress annotations, and real YAML examples.
Helm Charts Tutorial: Deploy Kubernetes Apps Like a Pro (2026)
Helm charts tutorial for beginners: chart structure, templates, values files, dependencies, hooks, upgrades, rollbacks, and publishing to OCI registries. Practical Kubernetes package manager guide.
Debugging Kubernetes Pods Without Exposing Cluster Secrets
kubectl describe leaks more than you think. Filter with jsonpath, use ephemeral debug containers, share findings through the three-zone model.
CI/CD and DevSecOps
Pipelines that build, test and deploy, and the security checks that belong in them. One decision every team has to make is which environments deploy automatically and which wait for a human approval. The pipeline is where that line lives.
CI/CD Pipelines Explained: Code Push to Production
GitHub Actions, GitLab CI, pipeline stages, testing strategies, and deployment patterns.
GitHub Actions CI/CD: Complete Beginner to Advanced Guide
Master GitHub Actions: workflows, triggers, matrix builds, secrets, caching, artifacts, reusable workflows, Docker builds, OIDC auth, and debugging.
DevSecOps Guide: Integrate Security into Your CI/CD Pipeline
SAST, DAST, SCA, secrets scanning, container image security, and infrastructure as code scanning with GitHub Actions configuration examples.
Web servers, Nginx and caching
Reverse proxies, server blocks, CDNs and the cache layers between a visitor and your application. Getting those layers to agree is most of the work.
Nginx Reverse Proxy Setup: Complete Guide with SSL & Load Balancing
Complete Nginx reverse proxy setup guide: proxy_pass, SSL termination, WebSocket support, load balancing, caching, and security headers. Copy-paste configs for 2026.
Nginx Server Blocks: Complete Configuration Guide
Server blocks, SSL/TLS, reverse proxy, load balancing, gzip, security headers, rate limiting, PHP-FPM, and production-ready templates.
How to Generate htpasswd File for Apache and Nginx (2026)
How to generate an htpasswd file for Apache and Nginx basic authentication. Create password hashes, configure .htaccess, protect directories, and understand hash algorithms.
Web Caching Strategies: Browser, CDN, and Server-Side Explained
Web caching strategies explained: Cache-Control headers, ETags, CDN caching, Varnish, Redis, service workers, and cache invalidation patterns for developers.
CDN Setup Guide: Speed Up Your Website Globally
Complete CDN setup guide: how to configure Cloudflare, AWS CloudFront, and Fastly to speed up your website globally. Covers DNS setup, cache rules, SSL, cache-busting, and performance validation.
HTTP/2 vs HTTP/3: Performance Comparison & Migration Guide
HTTP/2 vs HTTP/3 deep comparison: how QUIC eliminates TCP head of line blocking, connection migration for mobile users, 0-RTT connection setup, and a practical migration guide for Nginx, Caddy, and Cloudflare.
Web Performance Optimization: Core Web Vitals Guide
LCP, INP, CLS, image optimization, lazy loading, code splitting, CDN, caching, and Lighthouse.
MySQL "Too many connections" (ERROR 1040): How to Get Back In and Fix It
Real runs on a disposable MySQL 8.3 server: the reserved admin slot, finding and killing the connections that hog slots, SET PERSIST surprises and the admin port.
Linux, SSH and scheduled jobs
Permissions, SSH keys and tunnels, cron and systemd timers, and the commands you reach for on a server you've just been handed.
100+ Linux Commands Every Developer Should Know
The ultimate Linux cheat sheet: file ops, text processing, grep, sed, awk, networking, permissions, processes, compression, systemd, and more - with examples.
Linux File Permissions and chmod Explained
Permission bits, octal notation, chmod/chown, SUID/SGID/sticky bit, umask, and common permission errors.
chmod Permissions Cheat Sheet: 644, 755, 777 Explained (2026)
chmod permissions reference with real examples: 644, 755, 700, 600, 777, symbolic notation, recursive chmod, and security best practices for Linux file permissions.
Linux find Command: 25 Practical Examples You Will Use Daily
25+ practical Linux find command examples. Search files by name, type, size, date, permissions, and ownership. Execute actions on results with -exec. Real sysadmin use cases included.
Bash Scripting Cheat Sheet: Write Shell Scripts Like a Pro (2026)
Complete bash scripting cheat sheet with real examples: variables, conditionals, loops, functions, arrays, string manipulation, error handling, and cron scheduling. Copy-paste reference for shell scripts.
SSH Keys Explained: Complete Guide to Secure Server Authentication
How SSH key authentication works, generating Ed25519 keys, ssh-agent, agent forwarding vs ProxyJump, and security best practices.
Generate SSH Key (Ed25519): Complete Setup Guide
Complete guide to generating Ed25519 SSH keys on macOS, Linux, and Windows. Covers ssh-keygen, copying to servers, SSH config files, GitHub setup, and troubleshooting.
SSH Tunneling Explained: Local, Remote, and Dynamic Port Forwarding
Master SSH tunnels: local (-L), remote (-R), and dynamic (-D) forwarding, SOCKS proxy, autossh, and real-world use cases with examples.
SSH "Permission denied (publickey)": Find the Real Cause in Minutes
Fix SSH Permission denied (publickey) with real output from a test sshd: server log lines, StrictModes, wrong key fingerprints, wrong user, 0644 keys and too many agent keys.
Linux Crontab Guide: Master Cron Scheduling in 10 Minutes
Master Linux cron scheduling in 10 minutes. Complete crontab syntax guide with real examples, special strings, environment variables, logging, and common pitfalls every sysadmin must know.
20 Cron Job Examples for Linux: Schedule Any Task (2026)
Cron job examples for every use case: every minute, hourly, daily, weekly, monthly, business hours, and advanced expressions. Learn crontab syntax with real-world examples and step-by-step setup.
How to Run a Cron Job Every 5 Minutes (Linux, Mac, Docker)
Cron every 5 minutes: the exact expression, how crontab scheduling works, common intervals (every 1, 10, 15, 30 min, hourly), real-world examples, and troubleshooting tips.
systemd Timers vs Cron: Which Linux Scheduler to Use in 2026?
systemd timers vs cron: a complete comparison of syntax, logging, dependency management, and when to use each for modern Linux task scheduling. Includes real examples and step-by-step setup guide.
Git
Everyday Git, finding the commit that broke something with bisect, and keeping secrets out of history in the first place.
Git Cheat Sheet 2026: Every Command You Actually Need
Everyday commands, branching, rebasing vs merging, undoing mistakes, stashing, cherry-pick, bisect, and Conventional Commits.
Git Rebase vs Merge in 2026: When to Use Each (Real Examples)
Git rebase vs merge explained with real examples. Learn when to use git rebase, when to use git merge, interactive rebase, the golden rule of rebasing, and practical git workflow strategies.
Git Cherry-Pick: Apply Specific Commits (Complete Guide)
Complete guide to git cherry-pick: apply specific commits to any branch, handle conflicts, cherry-pick ranges, and know when NOT to use it. Real examples included.
Git Stash: Save Work Without Committing (Complete Guide)
Complete git stash guide: save uncommitted work, switch branches safely, stash specific files, apply named stashes, and recover lost stashes. With real examples.
Git Undo Last Commit: Every Method Explained
Every way to undo a git commit: soft reset, mixed reset, hard reset, revert, amend, and reflog recovery. Know which method to use and when - with real examples.
Git Bisect: Find the Exact Commit That Broke Your Code
Master git bisect to binary-search through hundreds of commits and pinpoint exactly which commit introduced a bug. Manual and automated examples with real scripts.
.gitignore Best Practices: Templates & Common Patterns
.gitignore best practices: templates, patterns, and what to ignore for Node.js, Python, Java, and more. Global gitignore, gitignore for teams, and common mistakes.
Resolve Git Merge Conflicts: Read the Markers, Fix It, Check It
How to resolve git merge conflicts, with real output: reading the markers, diff3 and zdiff3, ours and theirs swapping in a rebase, modify/delete, rerere, and catching leftover markers.
Tools for this topic
Generators for Nginx, SSH and cron configs, a chmod calculator and a subnet calculator, all running in your browser. Always read generated config before you deploy it. A generator only knows what you told it.
Docker Run → Compose
Convert docker run commands to docker-compose.yml.
Nginx Config Generator
Generate nginx server blocks. SSL, gzip, proxy, security headers.
Htpasswd Generator
Generate Apache .htpasswd entries for basic authentication.
Chmod Calculator
Interactive Unix permissions. Numeric ↔ symbolic, common presets, chmod command preview.
SSH Config Generator
Generate ~/.ssh/config entries. Multiple hosts, ProxyJump.
Cron Expression Parser
Parse cron expressions to human-readable. Next 10 runs, common presets.
Crontab Generator
Build cron expressions visually. Presets, human-readable output.
YAML Validator
Validate YAML syntax. Shows parsed JSON output, error messages with line numbers.
Diff Checker
Compare two texts side-by-side. Line-level and character-level diff highlighting.
Other topics: secrets and credentials, AWS and cloud security, web app security, developer reference, security programs, compliance and insurance.