解决Docker容器中不能用vim编辑文件 更新来源: apt-get update 安装vim apt-get install -y vim 参考链接:https://blog.csdn.net/wangxinxinsj/article/details/77650784