docker容器中执行vim命令,报错:bash: vim: command not found(已解决)
执行vim命令报错这是因为vim没有安装。解决方案apt-getinstallvim如果执行:apt-getinstallvim命令,系统提示信息如下:Readingpackagelists...DoneBuildingdependencytreeReadingstateinformation...DoneE:Unabletolocatepackagevim这时,需要先执行命令:apt-getup