Docker 容器运行时,修正容器中不支持中文的解决方法

找到文件

cat ~/.bashrc

追加一句

echo "export LANG=zh_CN.UTF-8" >> ~/.bashrc

执行一句

source ~/.bashrc

-----------------------

现在或是重启容器都会生效.Centos系列...

评论

暂无评论