News for hackers. Stuff that matters.
Re:Your Docker image might be broken without you knowing it by willvarfar on Tuesday February 18, 2014 @09:34AM (#7258257)
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?

Re:Your Docker image might be broken without you knowing it by FooBarWidget on Tuesday February 18, 2014 @09:35AM (#7258262)
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.
Re:Your Docker image might be broken without you knowing it by ARothfusz on Tuesday February 18, 2014 @10:45AM (#7258682)
That's not "unfortunate" -- it is by design. You use containers to minimize dependencies on the host.
Re:Your Docker image might be broken without you knowing it by FooBarWidget on Tuesday February 18, 2014 @11:04AM (#7258804)
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!