docker 每次都得source /etc/profile

在~/.bashrc里面加一句

source /etc/profile

重新进入容器即可

posted @ 2019-10-11 11:23  抽象工作室upup  阅读(2002)  评论(0)    收藏  举报