解决Docker容器中不能用vim编辑文件

1,更新源:

apt-get update

2,安装vim

apt-get install -y vim
原文地址:https://www.cnblogs.com/QW-lzm/p/11668431.html