2:把下载的zip包上传到宿主机服务器上,解压,改名字 unzip pipework-master.zip mv pipework-master pipework cp -rp pipework/pipework /usr/local/bin/ 3:安装bridge-utils yum -y install bridge-utils 4:创建网络 brctl addbr br0 ip link set dev br0 up ip addr add 192.168.2.1/24 dev br0 5:给容器设置固定ip pipework br0 hadoop0 192.168.2.10/24 pi