Skip to content

Tag: containers

All the articles with the tag "containers".

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.

Docker Volume Mounts: Essential Flags

Docker Volume Mounts: Essential Flags

· Updated:

The -v and --mount flags for Docker volumes explained, bind mounts vs named volumes, read-only, propagation, and tmpfs options.