Skip to content

Tag: devops

All the articles with the tag "devops".

Stop Putting Passwords in Docker ENV

Stop Putting Passwords in Docker ENV

· Updated:

ENV bakes secrets into image layers that docker history shows to anyone. Use BuildKit secret mounts, runtime variables, or a real secrets manager.

Multi-Platform Docker Builds with buildx

Multi-Platform Docker Builds with buildx

· Updated:

Build ARM64 and AMD64 images from one machine using Docker buildx. Setup, syntax, pushing multi-arch manifests, and when you actually need it.

The .dockerignore File You're Not Writing

The .dockerignore File You're Not Writing

· Updated:

A missing .dockerignore bloats build context, slows every build, and leaks secrets into images. One you can copy-paste, plus how to check context size.

Optimize Ubuntu Logs: btmp Log Rotation

Optimize Ubuntu Logs: btmp Log Rotation

· Updated:

btmp logs failed logins and grows forever on internet-facing servers. Set up logrotate to keep it under control before your disk fills up.