Simple iperf3 container to run network testing with
282
This is a container image that hosts an iperf3 server/client depending on how you run it that can be used for network testing between the containers.
To launch the server run
docker run -it --rm --name=iperf3-svr -p 5201:5201 giuffrelab/test-perf
Then you can get the server IP from the logs
docker logs iperf3-svr
And it will return
➡️ Container IP is: 172.17.0.2
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
You can then use another container (or iperf3 client) to send tests to it
docker run -it --rm giuffrelab/test-perf -c 172.17.0.2
➡️ Container IP is: 172.17.0.3
Connecting to host 172.17.0.2, port 5201
[ 5] local 172.17.0.3 port 36374 connected to 172.17.0.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 13.4 GBytes 115 Gbits/sec 6 1.50 MBytes
[ 5] 1.00-2.00 sec 13.5 GBytes 116 Gbits/sec 0 1.69 MBytes
[ 5] 2.00-3.00 sec 13.7 GBytes 118 Gbits/sec 5 1.87 MBytes
[ 5] 3.00-4.00 sec 13.7 GBytes 117 Gbits/sec 0 1.87 MBytes
[ 5] 4.00-5.00 sec 13.7 GBytes 118 Gbits/sec 34 1.31 MBytes
[ 5] 5.00-6.00 sec 13.8 GBytes 118 Gbits/sec 1 1.44 MBytes
[ 5] 6.00-7.00 sec 13.8 GBytes 118 Gbits/sec 2 1.44 MBytes
[ 5] 7.00-8.00 sec 13.7 GBytes 118 Gbits/sec 1 1.56 MBytes
[ 5] 8.00-9.00 sec 13.8 GBytes 118 Gbits/sec 0 1.56 MBytes
[ 5] 9.00-10.00 sec 13.6 GBytes 117 Gbits/sec 1 1.69 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 137 GBytes 117 Gbits/sec 50 sender
[ 5] 0.00-10.00 sec 137 GBytes 117 Gbits/sec receiver
Content type
Image
Digest
sha256:6c60b429f…
Size
29.7 MB
Last updated
over 1 year ago
docker pull giuffrelab/test-perf