iperf 2+3 docker

Toastie 7235889598 initial 4 months ago
build 7235889598 initial 4 months ago
README.md 7235889598 initial 4 months ago
docker-compose.override.yml 7235889598 initial 4 months ago
docker-compose.yml 7235889598 initial 4 months ago

README.md

iPerf Speed Test

Start Server

# Start a container for iperf2 (port 5001) and another for iperf3 (port 5201)
# without a specific network as defined in docker-compose.override.yml
docker-compose -f docker-compose.yml up --detach

# Logs
docker logs -f iperf2
docker logs -f iperf3

Run Client

docker-compose build             # build docker images locally
iperf_server=iperf.example.com"  # set target server

# Run iperf2
docker run --rm toastie89/iperf2 sh -c "iperf -c $iperf_server"

# Run iperf3
docker run --rm toastie89/iperf3 sh -c "iperf3 -c $iperf_server"

References