HodorNV / ALOps

ALOps
59 stars 24 forks source link

Can I specify "locale" when creating a new container? #655

Closed epernst closed 1 year ago

epernst commented 1 year ago

I'm trying to import text objects into an ALOps container, but it fails with: '31-05-19;' is not a valid date.

Previously I have created the containers using my own script (using BCCH), where I were able to specify locale="da-DK".

Is there a way to specify this using ALOps?

waldo1001 commented 1 year ago

Hey @epernst ,

you can use the docker_parameters to specify what you want! probably very much the same as you did with BCCH (can you share that script?)

Here are some examples:

epernst commented 1 year ago

Today it's a regular parameter to new-bccontainer. But I've checked in "nav-docker", at it looks like I can specify $env:locale to do the same thing via the docker-parameters. Will try that! :)

epernst commented 1 year ago

Worked as expected! Thanks.