LogoBotmonster Tech
AI Smart Home Self-Hosting Coding Web Dev Hardware Bootpag Image2SVG Tags
Docker Image Hardening: Minimal Bases, Non-Root, and Trivy Scans

Docker Image Hardening: Minimal Bases, Non-Root, and Trivy Scans

Hardening a Docker image means cutting the attack surface at every layer. Start from a minimal base like distroless or Alpine. Run as a non-root user. Set the filesystem read-only. Drop all Linux capabilities and add back only what the app needs. Pin dependency versions with checksums. Scan images with Trivy or Grype before you push. Each layer of this checklist stands on its own, so you can adopt them one at a time.

Manage Your Dev Environment with Nix Shells (No Docker Required)

Manage Your Dev Environment with Nix Shells (No Docker Required)

If you have ever handed a new team member a README full of “install Node 22, then Python 3.12, then make sure your openssl headers match” instructions, you already know the problem. Nix flakes solve it at the root: instead of documenting what to install, you declare the exact toolchain in a flake.nix file, commit it alongside your code, and every developer runs nix develop to get an identical environment - same compiler, same CLI versions, same system libraries. In 2026, Nix flakes are stable, the Nixpkgs repository holds over 100,000 packages, and the ecosystem around flakes has matured to the point where the learning curve is manageable even for teams with no prior Nix experience.

Production Docker with Traefik v3.6: Auto TLS, 30K RPS

Production Docker with Traefik v3.6: Auto TLS, 30K RPS

Run Traefik v3 as a Docker container to build a production-ready stack. It discovers services through Docker labels and handles Let’s Encrypt TLS certificates automatically. You won’t need separate Nginx configs because everything lives in one docker-compose.yml file. This setup gives you a self-managing reverse proxy for multi-service deployments.

Key Takeaways

  • Traefik automates service discovery using Docker labels to build routes instantly.
  • Native Let’s Encrypt support handles SSL certificates without manual Certbot configuration.
  • A built-in web dashboard provides real-time visibility into your routing health.
  • Middlewares enable easy setup of security headers, rate limiting, and compression.
  • The single-binary architecture handles over 30,000 requests per second on modest hardware.

The current stable release as of early 2026 is Traefik v3.6.x, with v3.7 in early access. All examples in this guide target the v3.x line.

tmux 3.6a: Scripted Sessions, Plugins, and Persistence

tmux 3.6a: Scripted Sessions, Plugins, and Persistence

Tmux handles pane splitting and window management well out of the box, but most people stop there. The real gains come from treating tmux as infrastructure. You script your session layouts so one command rebuilds your whole dev environment. You keep sessions alive across reboots so you never lose context. You add plugins for clipboard sync, fuzzy finding, and pattern matching. With tmux 3.6a and a few good plugins, your terminal becomes a persistent, scriptable IDE rather than a simple multiplexer.

Wildcard SSL Certificates with Let's Encrypt and DNS-01

Wildcard SSL Certificates with Let's Encrypt and DNS-01

A wildcard SSL cert for *.example.com from Let’s Encrypt covers every one-level subdomain. You get one through the DNS-01 challenge, or, since February 2026, through the new DNS-PERSIST-01 challenge that skips per-renewal DNS edits. One wildcard cert replaces the per-service certs you’d otherwise juggle behind your reverse proxy.

Key Takeaways

  • One wildcard cert covers every one-level subdomain under a domain, replacing dozens of per-service certs.
  • Only DNS-based challenges (DNS-01 and DNS-PERSIST-01) issue wildcards; HTTP-01 and TLS-ALPN-01 won’t work.
  • The newer DNS-PERSIST-01 challenge lets you authorize once and skip DNS edits on every renewal.
  • Certbot and acme.sh both automate the DNS challenge through provider-specific plugins or tags.
  • Systemd timers handle the 90-day renewal window cleanly, with deploy hooks to reload your reverse proxy.

Why Wildcard Certificates and When You Need Them

If you run three subdomains, single certs work fine. Each one gets its own HTTP-01 challenge, Certbot handles renewal, and life is simple. Once you pass 10 or 15 subdomains, the chore list grows. Every new service needs its own cert request, its own renewal entry, and its own way to break. A wildcard cert folds all of that into one.

Btrfs vs ZFS: Which Filesystem Protects Your Data Better?

Btrfs vs ZFS: Which Filesystem Protects Your Data Better?

ZFS gives you stronger data integrity. Its RAIDZ layouts are battle-tested, it checksums data end to end, and it has a proven record on NAS systems. Btrfs is the better pick for single-disk desktops and laptops. It ties tightly into the Linux kernel, compresses data on the fly, and rolls back from snapshots. You get that protection without the RAM cost ZFS demands. The right answer depends on your hardware, your workload, and how many disks you have.

  • ◀︎
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • …
  • 12
  • ▶︎

Most Popular

Gemma 4 vs Qwen 3.5 vs Llama 4: Which Open Model Should You Actually Use? (2026)

Gemma 4 vs Qwen 3.5 vs Llama 4: Which Open Model Should You Actually Use? (2026)

Gemma 4, Qwen 3.5, and Llama 4 compared on benchmarks, licensing, speed, and hardware so you can pick the right open model fast.

5 Open Source Repos That Make Claude Code Unstoppable

5 Open Source Repos That Make Claude Code Unstoppable

Five March 2026 repos extend Claude Code with autonomous ML, self-healing skills, GUI automation, multi-agent coordination, and Google Workspace access.

Cross-section of a translucent crystal brain threaded by red, gold, and teal attention ribbons resting on a doubly-stochastic matrix pedestal beside a guitar-tuning lab figure.

DeepSeek V4 Tech Report: 3 Tricks That Cut Compute 73%

DeepSeek V4 ships 1.6T parameters and 1M context using only 27% of V3.2's inference FLOPs. Inside the hybrid attention, mHC residuals, and Muon optimizer.

Cracked stone tablet engraved with a bulleted system prompt, four crossed-out goblin silhouettes repeated, a tiny goblin escaping with upvote-arrow sparks, a giant dollar-sign price tag, and figures refusing to step onto a glossier pedestal.

GPT 5.5 Reddit Reception: Goblins and the Cost Backlash

GPT-5.5 Reddit reception: viral goblin prompt leak, doubled pricing backlash, and 5.4 holdouts citing hallucination regressions in factual recall workflows.

What X and Reddit Users Are Saying about Claude Opus 4.7

What X and Reddit Users Are Saying about Claude Opus 4.7

How power users on X and Reddit reacted to Claude Opus 4.7: praise for agentic coding, token burn concerns, and teams' practical prompting habits.

Qwen3.6-35B-A3B: Alibaba's Open-Weight Coding MoE

Qwen3.6-35B-A3B: Alibaba's Open-Weight Coding MoE

Alibaba's sparse Mixture-of-Experts: 35B total parameters, 3B active per token. Q4 quantization runs on MacBook Pro M5, matches Claude Sonnet performance.

Alacritty vs. Kitty: Best High-Performance Linux Terminal

Alacritty vs. Kitty: Best High-Performance Linux Terminal

Compare Alacritty and Kitty terminal emulators: performance benchmarks, latency, memory use, startup time, and which fits your Linux workflow best.

Like what you read?

Get new posts on Linux, AI, and self-hosting delivered to your inbox weekly.

Privacy Policy  ·  Terms of Service
2026 Botmonster