tomopiro/netperf

By tomopiro

Updated 6 months ago

Debian linux image with network performance tools of iperf2, iperf3, netperf, wrk.

Image
Networking
Developer tools
Operating systems
0

3.3K

tomopiro/netperf repository overview

Overview

This project provides a container for network performance tests.

What's in the container

Note that the iperf2 and iperf3 are not compatible. See the Iperf 2 & Iperf 3 Comparison Table.

Container structure

  • Debian is used for the base image.
  • No Entrypoint defined.
  • CMD is /bin/bash.
  • Installed tools are
    • nano
    • vim
    • wrk
    • curl
    • netperf
    • iperf2
    • iperf3
    • net-tools

Environmental variables

No environmental variables are defined for the container.

Run the container

iperf2

Official documentation can be found at iperf.fr.

iperf command is installed in the PATH.

  1. Create a test network that connect servfer and client.
    docker network create netperf
    
  2. Run an iperf2 server.
    docker run -it --rm --network netperf --hostname netperf tomopiro/netperf iperf -s
    
  3. Run iperf2 client and check performance.
    docker run -it --rm --network netperf tomopiro/netperf iperf -c netperf
    
iperf3

Official documentation can be found at iperf.fr.

iperf3 command is installed in the PATH.

  1. Create a test network that connect servfer and client.
    docker network create netperf
    
  2. Run an iperf3 server.
    docker run -it --rm --network netperf --hostname netperf tomopiro/netperf iperf3 -s
    
  3. Run iperf3 client and check performance.
    docker run -it --rm --network netperf tomopiro/netperf iperf3 -c netperf
    
netperf

Official documentation can be found at Care and Feeding of Netperf 2.7.X.

netperf command is installed in the PATH.

  1. Create a test network that connect servfer and client.
    docker network create netperf
    
  2. Run a netperf server.
    docker run -it --rm --network netperf --hostname netperf tomopiro/netperf netserver -D -L 0.0.0.0
    
  3. Run netperf client and check performance.
    docker run -it --rm --network netperf tomopiro/netperf netperf -H netperf
    

Tag summary

Content type

Image

Digest

sha256:284c262f8

Size

50.3 MB

Last updated

6 months ago

docker pull tomopiro/netperf