第一步:进入centos7容器:yum install net-tools -ycentos
我这里已经加载过,因此没有继续加载centos7
第二步:加载完成以后能够输入 ifconfig查看ip地址spa