Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
FooBarWidget
on Feb 18, 2014
|
parent
|
context
|
favorite
| on:
Your Docker image might be broken without you know...
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.
ARothfusz
on Feb 18, 2014
[–]
That's not "unfortunate" -- it is by design. You use containers to minimize dependencies on the host.
FooBarWidget
on Feb 18, 2014
|
parent
[–]
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: