Cannot use vim, vi, nano, yum inside docker container

Actually you don’t have to use vim in container, try lighter version vim-tiny:
apt-get update
apt-get install -y vim-tiny

2 Likes