txqueuelen:0 RX bytes:1034 (1.0 KiB) TX bytes:378 (378.0 B) / # 运行第二个容器 # docker run -it --name alpine --name <容器名> —network --network-alias <网络别名> <镜像名> 先删除之前创建的2个容器 docker rm -f alpine-1 docker rm -f alpine txqueuelen:0 RX bytes:1032 (1.0 KiB) TX bytes:0 (0.0 B) / # 创建第二个容器 # docker run -it --name alpine -2 --network testnet --network-alias alpine-2 alpine /bin/sh / # ifconfig eth0 eth0 Link encap:Ethernet