docker里面的ubantu容器没有带vim,想下个vim

apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vim

解决:

apt-get update && apt-get install apt-file -y && apt-file update && apt-get install vim –y

 posted on 2020-02-26 11:37  WU大雄  阅读(3086)  评论(0编辑  收藏  举报