{"id":21578735,"url":"https://github.com/slashdoom/iperf3-docker","last_synced_at":"2026-01-04T06:16:24.538Z","repository":{"id":207198032,"uuid":"718662550","full_name":"slashdoom/iperf3-docker","owner":"slashdoom","description":"An Alpine Linux iperf3 Docker build for Network Testing.","archived":false,"fork":false,"pushed_at":"2025-01-02T23:34:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T14:18:10.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slashdoom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-14T14:48:05.000Z","updated_at":"2025-01-02T23:34:28.000Z","dependencies_parsed_at":"2024-08-08T16:50:25.449Z","dependency_job_id":"98f4a7da-6bf4-4dba-a29e-41805bce2ccf","html_url":"https://github.com/slashdoom/iperf3-docker","commit_stats":null,"previous_names":["slashdoom/iperf3","slashdoom/iperf3-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Fiperf3-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Fiperf3-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Fiperf3-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Fiperf3-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slashdoom","download_url":"https://codeload.github.com/slashdoom/iperf3-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244177715,"owners_count":20411009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T13:11:28.194Z","updated_at":"2026-01-04T06:16:24.510Z","avatar_url":"https://github.com/slashdoom.png","language":"Dockerfile","readme":"iperf3\n=====\n\nFor: https://hub.docker.com/repository/docker/slashdoom/iperf3/general\n\n### iperf3 Docker Build for Network Performance and Bandwidth Testing\n\n- Binaries and source code for the project can be found at https://downloads.es.net/pub/iperf/\n- A GitHub repo with the Dockerfile can be found at https://github.com/slashdoom/iperf3-docker\n\n### Run the Docker Image and Show the iperf3 Options\n    docker run -it --rm -p 5201:5201 slashdoom/iperf3 --help\n\n### Usage\nTo test bandwidth between two containers, start a server (listener) and point a client container (initiator) at the server.\n\n#### iperf3 Server\nStart a listener service on port 5201 and name the container \"iperf3-server\":\n\n    docker run  -it --rm --name=iperf3-server -p 5201:5201 slashdoom/iperf3 -s\n\nThis creates an iperf3 process bound to port 5201 waiting for new connections:\n\n    -----------------------------------------------------------\n    Server listening on 5201\n    -----------------------------------------------------------`\n\n#### iperf3 Client\nFirst, get the IP address of the new server container you just started:\n\n    docker inspect --format \"{{ .NetworkSettings.IPAddress }}\" iperf3-server\n    172.17.0.2   \u003c~~ returned container IP\n\nNext, initiate a client connection from another container to measure the bandwidth between the two endpoints.\n\nRun a client container pointing at the server container's IP address.\n\n    docker run  -it --rm slashdoom/iperf3 -c 172.17.0.2\n\nAnd the output is the following:\n\n    Connecting to host 172.17.0.2, port 5201\n    [  5] local 172.17.0.3 port 50800 connected to 172.17.0.2 port 5201\n    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd\n    [  5]   0.00-1.00   sec  6.39 GBytes  54.9 Gbits/sec   47   1.65 MBytes\n    [  5]   1.00-2.00   sec  7.25 GBytes  62.3 Gbits/sec    0   1.65 MBytes\n    [  5]   2.00-3.00   sec  6.63 GBytes  57.0 Gbits/sec    0   1.65 MBytes\n    [  5]   3.00-4.00   sec  7.80 GBytes  67.0 Gbits/sec    0   1.65 MBytes\n    [  5]   4.00-5.00   sec  7.34 GBytes  63.0 Gbits/sec    0   1.65 MBytes\n    [  5]   5.00-6.00   sec  7.09 GBytes  60.9 Gbits/sec    1   1.65 MBytes\n    [  5]   6.00-7.00   sec  6.67 GBytes  57.3 Gbits/sec    0   1.65 MBytes\n    [  5]   7.00-8.00   sec  6.61 GBytes  56.7 Gbits/sec    0   1.65 MBytes\n    [  5]   8.00-9.00   sec  6.45 GBytes  55.4 Gbits/sec    0   1.65 MBytes\n    [  5]   9.00-10.00  sec  6.56 GBytes  56.3 Gbits/sec    0   1.65 MBytes\n    - - - - - - - - - - - - - - - - - - - - - - - - -\n    [ ID] Interval           Transfer     Bitrate         Retr\n    [  5]   0.00-10.00  sec  68.8 GBytes  59.1 Gbits/sec   48             sender\n    [  5]   0.00-10.00  sec  68.8 GBytes  59.1 Gbits/sec                  receiver\n    \n    iperf Done.\n\n### Hat Tips\n- [ESnet](https://www.es.net/) - for re-rolling iperf3 from the ground up. It is an excellent piece of software.\n- [networkstatic](https://networkstatic.net/) - for the iperf3 image this is mostly based on.  We used this until we need features in latest iperf3 versions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdoom%2Fiperf3-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslashdoom%2Fiperf3-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdoom%2Fiperf3-docker/lists"}