Skip to content

Tag: containers

All the articles with the tag "containers".

Cleaning Up Docker Disk Space the Right Way

Cleaning Up Docker Disk Space the Right Way

· Updated:

docker system prune reclaims space and can delete volumes you wanted. What each cleanup command removes, how to check usage first, and a safe script.

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.