Docker: How to use nano

Publicités

To use nano in docker, you have to update the apt-get, install nano. Trying to open a file you can find yourself facing the error

Error opening terminal: unknown.

Thankfully, just export the term-xterm variable

apt-get update
apt-get install nano
export TERM-xterm
 
Publicités

Leave a Reply