docker的ubuntu镜像里没有vim

通过 docker 拉取 ubuntu 镜像

docker pull ubuntu

使用该进行生成容器

docker run -it ubuntu

在容器中安装vim

apt-get update

apt-get install vim

 

posted on 2022-02-09 16:38  0820LL  阅读(348)  评论(0编辑  收藏  举报

导航