BEST TECHNICAL EXPLANATION VIDEO?

I came across the following video while doing research on how to use Docker securely esp. regarding mounting volumes as a non-root user.

Spoiler: it’s complicated and there has been a number of explanations and discussions on this topic including one from about 10 years go. Yep!

POSTGRES PASSWORD SECRETS IN DOCKER

I needed a way to spin up a postgres container without hardcoding any credentials. But it turns out postgres wants at least POSTGRES_PASSWORD being set.