docker容器里面执行top报“TERM environment variable not set.”

解决:

[hadoop@master ~]$ docker exec -ti 6eca7d27a988 /bin/bash
root@6eca7d27a988:/# top
TERM environment variable not set.


root@6eca7d27a988:/# echo $TERM
dumb


root@6eca7d27a988:/# export TERM=dump

 

posted @ 2018-09-18 11:54  北漂-boy  阅读(1068)  评论(0编辑  收藏  举报