Add support to multi language server core 2019 when running on containers
Default servercore:1809 image came with en-US.
- At this moment, for Server Core 2019, you have to install language pack by yourself: https://docs.microsoft.com/pt-br/windows-server/get-started-19/rel-notes-19.
- The way to do it, is using lpksetup: https://support.microsoft.com/en-us/help/4466511/cannot-configure-language-pack-for-windows-server-2019
- But lpksetup.exe crashes when running on container
I've described step by step how to reproduce lpksetup.exe error on container, producing crash report logs that I've extracted from container.
All here: https://github.com/sanguedemonstro/docker-playground/issues/1#issuecomment-453078549
With extra details here: https://github.com/sanguedemonstro/docker-playground/blob/master/langpack-on-servercore2019.md#why-am-i-playing-around-this-subject
But I'm not able to understand logs or fix windows base image. And I can't open support ticket once I'm not MS partner.
So if anyone could help I'm here to support.
Thanks!

11 comments
-
Mirwais commented
Hi
anything new on this? We need also to control the container's timezone, this is easily done in linux containers. -
Brandon Smith commented
Thank you for the feedback! We are currently working on adding globalization support for Windows Server containers and are taking all of the feedback here into consideration. We understand the importance of globalization settings and aim to have a fix out as soon as we can. For reference, we have bug #26223762 for globalization support, and #24891938 for time zone support on file.
I'm happy to keep you updated on status. Feel free to reach out with additional feedback at win-containers@Microsoft.com, or on twitter at @Brandon8675_309.
-
João Paulo Melo commented
I'm facing issues around Time Zone configurations too.. Details here:
https://github.com/moby/moby/issues/40284That's very sad.. Microsoft should realize that globalization settings like language and time zone are fundamental to keep the world running..
Otherwise, Windows Server on container is *useless*, and if you have an OS useless for containers, what do you have?!
-
João Gala Louros commented
even "powershell Set-WinSystemLocale" fails :(
-
Francisco Krautchuk Neto commented
+1
-
Bruna Emerich commented
+1
-
João Paulo Melo commented
Hi, @Nick Young,
What I need is to install language pt-BR on servercore 2019 container, and be able to Set-WinSystemLocale to pt-BR.
Running over random hosts win 10 server and/or desktop, with random languages.
-
Nick Young commented
Hi,
Not sure what your use case is but you might want to take a look at https://social.msdn.microsoft.com/Forums/en-US/0c4a2452-efd5-4e39-bd58-9748201e1670/codepages-in-servercorenanoserver?forum=windowscontainersI'm not sure what you're trying to do, but I hit a similar problem - in my case I had to set the install the language pack on the host machine, set the language/codepage etc in the host before starting a container.
-
Thiago Rodrigues commented
+1
-
Bruno Gabriel da Silva commented
+1
-
César T. de Albuquerque commented
+1