1.安装ubuntu
docker pull ubuntu:20.04
docker run -it --name ubuntu20.01-1 -v D:\code\mininet_test:/usr/local/apps/mininet_test ubuntu:20.04 bash
2.安装sudo
apt-get update &&
apt-get -y install sudo
3.安装git
sudo apt update
sudo apt install git
git –version
查看linux代理情况:
ps -e|grep ssh
设置和取消代理:
export http_proxy=http://xx:7890
export https_proxy=http://xx:7890
unset http_proxy
unset https_proxy
4.安装mininet
参考csdn博客