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

No, you have to take care of environment variables yourself. Unfortunately, Docker does not inherit environment variables from the base image, so in every Dockerfile you have to ensure that the right environment variables are set.


That's not "unfortunate" -- it is by design. You use containers to minimize dependencies on the host.


What does minimizing dependencies on the host have anything to do with not inheriting environment variables from the base image?

Note: I'm not talking about inheriting environment variables from the host!




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

Search: