Home > Article > Operation and Maintenance > How to solve the problem that docker Chinese is not displayed
Docker Chinese is not displayed. This is because the Chinese language package is missing in the docker container environment. Just install the Chinese language package.
CentOS:
yum -y install kde-l10n-Chinese yum -y reinstall glibc-common localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
Modify Dockerfile
FROM zabbix/zabbix-server-mysql RUN yum -y install kde-l10n-Chinese && yum -y reinstall glibc-common && localedef -c -f UTF-8 -i zh_CN zh_CN.utf8ENV LC_ALL zh_CN.utf8
For more related tutorials, please pay attention to the docker tutorial column on the PHP Chinese website.
The above is the detailed content of How to solve the problem that docker Chinese is not displayed. For more information, please follow other related articles on the PHP Chinese website!