How to set the default locale in UBI 8 images ?
Issue
- How to set the default locale as
en_US.utf8
in UBI 8 minimal image ? - The default locale for UBI 8 minimal image is set as
C.utf8
. How to change the default locale toen_US.utf8
? locale
command is returning theC.utf8
in the UBI 8 image. How to change the locale toen_US.utf8
?
Environment
- Red Hat Enterprise Linux (RHEL) 8
- ubi8
- ubi8/ubi-minimal
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.