docker容器内安装vim

  1. 更新包
    apt-get update

  2. 安装vim
    apt-get install vim -y

原文地址:https://www.cnblogs.com/linyufeng/p/13094213.html