Docker:bash: vi: command not found

在使用docker容器时,有时候里边没有安装vim,敲vim命令时提示说:vim: command not found,这个时候就需要安装vim

操作步鄹:

1、apt-get update

2、apt-get install vim

如果是:bash:ping: command not found

apt-get install iputils-ping

原文地址:https://www.cnblogs.com/cristin/p/9167721.html