1,进入ubuntu容器
# centos8 docker 启动命令
docker run -itd --name centos8 --privileged centos /usr/sbin/init
docker exec -it ca276eded1be /bin/bash
//此处可以更换一下apt-get 源
sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
apt-get clean
2,安装net-tool
apt-get update
apt-get install net-