美文网首页
docker中文乱码解决方案

docker中文乱码解决方案

作者: fengshunli | 来源:发表于2018-05-31 18:01 被阅读0次

    RUN locale

    RUN localedef -i zh_CN -c -f UTF-8 zh_CN.UTF-8

    RUN echo "export LC_ALL=zh_CN.UTF-8" >> /etc/profile && source /etc/profile

    ENV LANG zh_CN.UTF-8

    ENV LC_CTYPE zh_CN.UTF-8

    相关文章

      网友评论

          本文标题:docker中文乱码解决方案

          本文链接:https://www.haomeiwen.com/subject/msqcsftx.html