Docker image of iperf3 based on Alpine Linux
500K+
A less-than-5MB tiny Docker image of iperf3 based on Alpine Linux. Prebuilt images for linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/386, and linux/arm/v7 are provided on Docker Hub.
Run an iperf3 server with the following command:
docker run --rm -t -p 5201:5201 -p 5201:5201/udp taoyou/iperf3-alpine:latest
Run an iperf3 client with the following command:
docker run --rm -t taoyou/iperf3-alpine:latest -c <server address>
The default parameter is "-s". You can pass any parameters you want in the command line:
docker run --rm -t taoyou/iperf3-alpine:latest -c <server address> --time 20 --zerocopy
git clone https://github.com/taoyouh/iperf3-alpine
cd iperf3-alpine
git submodule update --init
docker build -t taoyouh/iperf3-alpine:latest .
You can also use docker buildx to build the image for multiple architectures.
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use --name mybuilder
docker buildx build --tag taoyou/iperf3-alpine:latest --platform linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7 --push .
Builds on riscv and arm/v6 will fail so they are not included in the command.
Content type
Image
Digest
sha256:9c0dbe755…
Size
3.3 MB
Last updated
almost 4 years ago
docker pull taoyou/iperf3-alpine:master