Docker中配置字符集支持中文
在Dockerfile中加入以下内容:RUN yum install kde-l10n-Chinese -yRUN yum install glibc-common -yRUN echo " export LANG=zh_CN.UTF-8" >> /root/.bashrcRUN export LANG=zh_CN.UTF-8RUN export LC_ALL=zh_CN.U
·
在Dockerfile中加入以下内容:
RUN yum install kde-l10n-Chinese -y
RUN yum install glibc-common -y
RUN echo " export LANG=zh_CN.UTF-8" >> /root/.bashrc
RUN export LANG=zh_CN.UTF-8
RUN export LC_ALL=zh_CN.UTF-8
更多推荐
已为社区贡献2条内容
所有评论(0)