I\'m using a Mac and want to run emacs in my docker container. Is there a preferred way to solve this? In my flow I get stuc because the DISPLAY/TERM aren\'t set
As Adrian Mouat mentioned in his comment, just do:
export TERM=xterm
and you'll be able to run emacs (note, though, that you'll always have to double-enter C-p to move to previous line, because Docker).