如果已经生成了容器,可: vi ~/.bashrc export LANG=C.UTF-8 source ~/.bashrc 如果还没有生成容器,可在dockerfile里面加: ENV LANG C.UTF-8