Skip to content

A iPerf3 container build based on Alpine 3.17 with some examples on how to use this

License

Notifications You must be signed in to change notification settings

MichaelTrip/iperf3container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author

Build status GitHub License GitHub last commit GitHub tag (with filter)

iPerf3 Container

Purpose

I have created this container to either work as a server or as a client. It is a simple container based on alpine:3.17 with the iperf3 as a entrypoint.

Docker

As a server

$ docker run -it --rm -p 5201:5201 ghcr.io/michaeltrip/iperf3container:latest -s

As a client

$ docker run -it --rm -p ghcr.io/michaeltrip/iperf3container:latest -c <iperf3hostname> -p <targetport> -t <duration_in_seconds>

Podman

As a server

$ podman run -it --rm -p 5201:5201 ghcr.io/michaeltrip/iperf3container:latest -s

As a client

$ podman run -it --rm ghcr.io/michaeltrip/iperf3container:latest -c <iperf3hostname> -p <targetport> -t <duration_in_seconds>

Kubernetes

You can run both the server and the client in Kubernetes. In the examples directory are both examples for the server and the client. Note that the client is a job in this case.

Run as a one time pod:

$ kubectl run iperf3container-pod ghcr.io/michaeltrip/iperf3container:latest -- -c <iperf3hostname> -p <targetport> -t <duration_in_seconds>

About

A iPerf3 container build based on Alpine 3.17 with some examples on how to use this

Resources

License

Stars

Watchers

Forks

Packages