Find the problem Today, when I tried to modify the files in the Docker container, I found that there was no vim command in the container, and it returned: vim my.cnf bash: vim: command not found This article will record how to solve this problem. Solution Still inside the docker container, first run the following command and wait patiently for a while: apt-get update Once completed run: apt-get install vim After the installation is complete, run the following command to verify whether the installation is successful: vim If an interface similar to the following is returned, it proves that vim has been successfully installed: VIM installation successfully returns Summarize This is the end of this article about solving the problem of no vim command in Docker container. For more related content about no vim command in Docker container, please search previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: This article teaches you how to import CSS like JS modules
>>: Mysql query database capacity method steps
The solutions to the problems encountered during x...
This article example shares the specific code of ...
Table of contents 1. Optional Chaining 2. Null va...
Sometimes it’s nice to see some nice scroll bar e...
Find the problem Today, when I tried to modify th...
CSS naming conventions (rules) Commonly used CSS ...
This article shares the specific code of using ca...
Preface Recently, I encountered a requirement at ...
Table of contents 1 Promise Interrupt the call ch...
1. Backup source list The default source of Ubunt...
This article shares the installation and configur...
What is a transaction? A transaction is a logical...
When making some pages, in order to make the page...
Introduction to Flex Layout Flex in English means...
Upgrade background: In order to solve the vulnera...