解决:
[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
解决:
[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