找到文件bash
cat ~/.bashrc容器
追加一句文件
echo "export LANG=zh_CN.UTF-8" >> ~/.bashrc
執行一句
source ~/.bashrc
-----------------------
如今或是重啓容器都會生效.Centos系列...