docker容器内修改文件

apt-get update、apt-get install vim

Ctrl + d 退出并停止容器

Ctrl + p + q 退出并在后台运行容器

原文地址:https://www.cnblogs.com/yzg-14/p/14279302.html