0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

dockerコンテナの中でviが使えない場合

Last updated at Posted at 2021-03-22

環境

docker desktop for windows
AWS EC2+docker

現象

docker execでコンテナの中に入ったらviが使えなかった。。

手順

下記の手順でviが使えるようになりました。

  1. docker exec -it {apache00} bash
  2. apt-get update
  3. apt-get install vim

appendix

Centos系

yum install vim

0
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?