5 ms·
No, you have to take care of environment variables yourself. Unfortunately, Docker does not inherit environment variables from the base image, so in every Docke
by FooBarWidget 13y ago
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 13y agoThat's not "unfortunate" -- it is by design. You use containers to minimize dependencies on the host.
- FooBarWidget 13y agoWhat 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!