Skip to content

Tag: docker

All the articles with the tag "docker".

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.

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.