Hi.
When I tried to setup an alpine container, I couldn't use nano or vim and would receive an error regarding the $TERM variable. Its value was "vt[container#]"
I'm not a linux expert by any means, but when I tried using the latest debian container instead, the $TERM value was just "linux". So I went back in the alpine container and changed the $TERM variable to "linux" and it worked just fine.
I don't know what exactly happened but I'm under the impression that something was wrong with the alpine image. Hopefully this post is helpful.
When I tried to setup an alpine container, I couldn't use nano or vim and would receive an error regarding the $TERM variable. Its value was "vt[container#]"
I'm not a linux expert by any means, but when I tried using the latest debian container instead, the $TERM value was just "linux". So I went back in the alpine container and changed the $TERM variable to "linux" and it worked just fine.
I don't know what exactly happened but I'm under the impression that something was wrong with the alpine image. Hopefully this post is helpful.