您现在的位置是: 首页 > 运维 > 编程开发
docker容器里面没有vim解决方案
2023-03-25 【运维】
简介
如果在 Docker 容器中没有安装 vim 文本编辑器,可以通过以下命令来安装
apt-get update
apt-get install vim
如果你使用的是基于 Alpine Linux 的 Docker 镜像,则可以使用以下命令来安装 vim
apk update
apk add vim
安装完成后,就可以在容器中使用 vim 编辑文本了。
很赞哦! (0)
相关文章
- DataGrip 防止全表更新或删除限制
- idea 提示 @Transactional self-invocation (in effect, a method within the target object calling another method of the target object) does not lead to an actual transaction at runtime 问题原因
- IntelliJ IDEA 2023.1 发布,新UI 改进
- The bean 'xxxx.FeignClient' could not be registered. A bean with that name has already been defined and overriding is disabled. 问题原因
- Syntax Error: `asyncRouterMap` has already been exported. Exported identifiers must be unique. 错误原因
- MySQL 备份操作
- 控制台出现 was not registered for synchronization because DataSource is not transactional 是什么问题
- curl Empty reply from server 原因及解决方案
- Java BigDecimal 加减乘除计算示例
- docker容器里面没有vim解决方案
点击排行
- DataGrip 防止全表更新或删除限制
- idea 提示 @Transactional self-invocation (in effect, a method within the target object calling another method of the target object) does not lead to an actual transaction at runtime 问题原因
- IntelliJ IDEA 2023.1 发布,新UI 改进
- The bean 'xxxx.FeignClient' could not be registered. A bean with that name has already been defined and overriding is disabled. 问题原因
- Syntax Error: `asyncRouterMap` has already been exported. Exported identifiers must be unique. 错误原因
- MySQL 备份操作
- 控制台出现 was not registered for synchronization because DataSource is not transactional 是什么问题
- curl Empty reply from server 原因及解决方案
- Java BigDecimal 加减乘除计算示例
- docker容器里面没有vim解决方案
猜你喜欢
- DataGrip 防止全表更新或删除限制
- idea 提示 @Transactional self-invocation (in effect, a method within the target object calling another method of the target object) does not lead to an actual transaction at runtime 问题原因
- IntelliJ IDEA 2023.1 发布,新UI 改进
- The bean 'xxxx.FeignClient' could not be registered. A bean with that name has already been defined and overriding is disabled. 问题原因
- Syntax Error: `asyncRouterMap` has already been exported. Exported identifiers must be unique. 错误原因
- MySQL 备份操作
- 控制台出现 was not registered for synchronization because DataSource is not transactional 是什么问题
- curl Empty reply from server 原因及解决方案
- Java BigDecimal 加减乘除计算示例
- docker容器里面没有vim解决方案