解决方法:修改原网卡配置文件,可以改成如下:[root@docker network-scripts]# cat ifcfg-eth0DEVICE="eth0"NAME="eth0"ONBOOT=yesBOOTPROTO=dhcp