3 ms·
I've been trying to get some tools to run in a docker for a few days now. So far the problems have been that there isn't a convincing HOME folder and user, and
by willvarfar 13y ago
I've been trying to get some tools to run in a docker for a few days now. So far the problems have been that there isn't a convincing HOME folder and user, and that the locale isn't set (only explodes if there are unicode filenames, but there are plenty of those e.g. for SSL certs).
Does this script sort out those kind of things?
- FooBarWidget 13y agoNo, 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!