docker安装vim

修改docker内部的镜像源

mv /etc/apt/sources.list /etc/apt/sources.list.bak
echo 'deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse' > /etc/apt/sources.list

 安装vim

apt-get update
apt-get install vim



原文地址:https://www.cnblogs.com/xiaofengfree/p/13402260.html