[Container-tools] Default locale in container environments

Nick Coghlan ncoghlan at gmail.com
Mon Nov 23 06:10:53 UTC 2015


(Posting here since this is a distro-independent problem, other
changes in Fedora just make it most obvious there)

In Fedora 23, a range of packages and utilities that previously ran
under Python 2 have moved over to running under Python 3.

This has exacerbated the known problem with containers defaulting to
the ASCII centric C locale:
https://github.com/fedora-cloud/docker-brew-fedora/issues/14

Is there a recommended approach to building container images which
have a sensibly set locale for all environments running on that image,
whether via docker run or docker exec?

Regards,
Nick.

P.S. systemd had finally got Linux to the point of being almost
entirely reliable in setting the locale to something sensible, but
containerisation appears to have now thrown us all the way back to the
1960's :(

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia




More information about the Container-tools mailing list