Docker内部无法使用VI或VIM命令 docker exec -it xxx bash 进入后使用以下命令安装 更新来源 apt-get update 安装vim apt-get install -y vim