When the image starts, is automatically performed ~ / .bashrc file, therefore, need to configure the environment variables in the file, so that the mirror is started, the file can be automatically performed, so that environmental variables.
vi ~ / .bashrc
----------------------------------------------------------------------------------
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
Global Definitions the Source #
IF [-f / etc / bashrc]; the then
. / Etc / bashrc
Fi
Export zh_CN.utf8 # Set the LC_ALL = centos docker Chinese character set
----------------------------------------------------------------------------------