Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Env vars cannot be changed at runtime

You can specify env vars any time you boot up an image. I see this as a benefit. I use containers for production and don’t want wild ssh yolo modifications. I want to have very clear immutable inputs.

> mount a volume with the config file

Sure, but where? And what if you need multiple files for multiple different things to configure? What’s to prevent someone from accidentally putting non config files into that volume or accidentally changing the permissions on the file or any other host of things that we just don’t have to reinvent if we use env vars.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: