Docker解决没有vi、vim等命令 1、apt update 同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引,获取到最新的软件包。 2、apt install vi 安装vi命令