Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I run this docker image through docker-compose? #10

Open
tablenchair opened this issue Aug 26, 2021 · 1 comment
Open

How can I run this docker image through docker-compose? #10

tablenchair opened this issue Aug 26, 2021 · 1 comment

Comments

@tablenchair
Copy link

I would like to run this image alongwith others in docker-compose. How can I configure it to run in server-mode in the docker-compose file ?
Also, is there anyway to bind it to an interface & specify the pid location, ie, options -B & -I respectively in https://iperf.fr/iperf-doc.php#3doc

@BBaoVanC
Copy link

Here's what my docker-compose.yml looks like:

version: "3"
services:
  iperf3:
    image: networkstatic/iperf3:latest
    restart: always
    ports:
      - 5201:5201
    command: -s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants