Preface
When I was using Docker
it to create files, I found that there was no vim
command. Then, I tried to install the vim command.
Docker image installed based on Ubuntu
-
Update source
Execute commandapt-get update
. Synchronize/etc/apt/sources.list
and/etc/apt/sources.list.d
software source. -
Install vim command related packages
apt-get install vim
Reference
[1]. Install vim in docker container
Installation using ping command within Docker
apt-get update
apt install iputils-ping
Reference
[1]. Install the ping command in Docker