tmate-io / tmate

Instant Terminal Sharing
https://tmate.io/
Other
5.55k stars 298 forks source link

Running tmate on alpine:latest - open terminal failed: can't find terminfo database #273

Open HenAmar opened 1 year ago

HenAmar commented 1 year ago

Running the following set of command:

docker run -it alpine:latest

In the container running: wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz ; tar -xvf tmate-2.4.0-static-linux-amd64.tar.xz ; cd tmate-2.4.0-static-linux-amd64/ ; ./tmate

will bring the following error: open terminal failed: can't find terminfo database

Tried to change $TERM based on https://github.com/tmux/tmux/issues/743

Changing from alpine:latest to ubuntu:latest works.