Docker exec TERM environment variable not set

If you land up the error - TERM environment variable not set. A simple hack is to
1
export TERM=xterm```
Good for Nothing
If you land up the error - TERM environment variable not set. A simple hack is to
1
export TERM=xterm```