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

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.

Developer ToolsMarch 23, 2026

Docker Cheat Sheet 2026: Commands, Dockerfile, and Compose

Container lifecycle, multi-stage Dockerfiles, Compose patterns, networking, volumes, and debugging.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

GuidesMarch 26, 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

GuidesMarch 18, 2026

Kubernetes Basics: Pods, Deployments, Services

K8s without jargon: pods, deployments, services, ingress, ConfigMaps, Secrets, and kubectl.

SecurityMarch 26, 2026

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.

SecurityMarch 2026

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.

SecurityMarch 29, 2026

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.

GuidesMarch 2026

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.

GuidesMarch 2026

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.

DevOpsApril 20, 2026

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.

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 26, 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.

GuidesMarch 2026

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.

GuidesMarch 2026

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.

GuidesMarch 2026

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.

Developer ToolsMarch 2026

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.

GuidesMarch 19, 2026

Web Performance Optimization: Core Web Vitals Guide

LCP, INP, CLS, image optimization, lazy loading, code splitting, CDN, caching, and Lighthouse.

DevOpsNovember 27, 2026

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.

Developer ToolsMarch 26, 2026

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.

GuidesMarch 22, 2026

Linux File Permissions and chmod Explained

Permission bits, octal notation, chmod/chown, SUID/SGID/sticky bit, umask, and common permission errors.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

SecurityMarch 25, 2026

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.

GuidesMarch 2026

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.

Developer ToolsMarch 26, 2026

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.

DevOpsNovember 27, 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 23, 2026

Git Cheat Sheet 2026: Every Command You Actually Need

Everyday commands, branching, rebasing vs merging, undoing mistakes, stashing, cherry-pick, bisect, and Conventional Commits.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

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.

Developer ToolsMarch 2026

.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.

DevOpsNovember 27, 2026

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.

Other topics: secrets and credentials, AWS and cloud security, web app security, developer reference, security programs, compliance and insurance.