Easily measure maximum bandwidth with iperf:
-
Start the server in the first container
docker run -d --name iperf mattgruter/iperf -s
-
Measure network bandwidth towards first container
docker run --link iperf:target mattgruter/iperf
Or: Measure network bandwidth towards known host
docker run mattgruter/iperf -c <IP>