LoginSignup
2
1

More than 5 years have passed since last update.

[備忘録]dockerのコンテナでemacs入れた時の起動時エラー対応

Last updated at Posted at 2016-11-24

コンテナに、exec /bin/bashして、apt-getでemacsを入れて
emacs起動時、こんなエラー

Please set the environment variable DISPLAY or TERM (see `tset').

(※apt-getでインストールされたemacsは24だった。)

[対応]
emacs起動前に、環境変数を設定

export TERM=xterm

※いいのか悪いのかよく分からないが(orz)、
rootの.bashrcに追加すれば、とりあえずは、
docker exec -it XXXX /bin/bashした時に、
すぐ使える。。。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1