當咱們使用vim打開一個文件時提示:vim:command not found,這表示咱們的容器中沒有vimvim
安裝apt-get install vim命令,提示:ui
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package vim咱們首先更新:apt-get update更新完後:apt-get install vim