Docker容器解决没有vi/vim命令问题 vi/vim: command not found

Docker容器解决没有vi/vim命令问题 vi/vim: command not found

错误现象 :

bash: vim: command not found
bash: vi: command not found

在这里插入图片描述

解决方案

更新资源

apt-get update

在这里插入图片描述

下载 VIM

apt-get install vim

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_44226094/article/details/120629426