Skip to content

Tag: containers

All the articles with the tag "containers".

Docker CMD vs ENTRYPOINT: The Final Answer

Docker CMD vs ENTRYPOINT: The Final Answer

· Updated:

CMD and ENTRYPOINT work together rather than competing. Exec form vs shell form, the full behavior matrix, the combo pattern, and the debug override.

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.