Skip to content

Files

Latest commit

Apr 9, 2019
c85238e · Apr 9, 2019

History

History
57 lines (37 loc) · 1.01 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.01 KB

iperf3 service in a Docker container

Install Docker and Docker-compose

Windows

Not yet support

https://docs.docker.com/docker-for-windows/install/

and it contained docker-compose.

Linux

Install Docker and select Docker CE is fine.

Install docker-compose.

https://docs.docker.com/compose/install/

Run it

> git clone [email protected]:tknv/iperf3-docker-compose
> cd iperf3-docker-compose
> docker-compose build --no-cache
> docker-compose up

iperf3 it

> iperf3 -c <Dcoker host IP address> -p 50001

Customize it

vim docker-compose.yml

...
    ports:
      - "<which port from>:5001/tcp"
      - "<which port from>:5001/udp"
...
    command: iperf3 -s <options> -p 5001
...

That's it.