linux

1. 容器内使用sudo 报bash: sudo: command not found

apt-get update 
apt-get install sudo

2. vi 安装

apt-get update
apt-get install vim

3. bash: ifconfig: command not found

sudo apt-get update
sudo apt install net-tools