Test Your Networking Gear with an iPerf Server in Docker

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 17

  • @nalle475
    @nalle475 2 роки тому

    I have an iperf in servermode on each hw server and on virtual pfsense installations. Have found network issues and bottlenecks. Thanks for finding the docker version.

  • @egrims
    @egrims 2 роки тому +9

    A tip on using it as a stack that I just discovered. You can pass command line arguments to the stack, example below. Just tested and works perfectly. Thanks for the video, I've been looking for something similar as well!
    version: '3.3'
    services:
    iperf3-server:
    image: networkstatic/iperf3:latest
    container_name: iperf3-server
    restart: always
    ports:
    - 5201:5201
    command: -s

    • @DBTechYT
      @DBTechYT  2 роки тому +1

      This is brilliant!! Thank you! I'll update the blog post with this :)

  • @goodcitizen4587
    @goodcitizen4587 2 роки тому +1

    Very handy! I'm also looking for a general cpu/IO docker app. To compare my various hosts.

    • @DBTechYT
      @DBTechYT  2 роки тому

      Thanks!! You might check out this video? ua-cam.com/video/exZ179uNQW8/v-deo.html

  • @jokar70
    @jokar70 Рік тому

    Hallo This installation is compatible with Raspberry Pi Portainer also?

  • @danielnedelcu4667
    @danielnedelcu4667 2 роки тому +3

    You should activate Jumbo Frames (MTU 9000) for 10GB speed

  • @daliborizer
    @daliborizer Рік тому

    How can I edit the docker instance to allow more ports to be used besides the 5201 port?

    • @DBTechYT
      @DBTechYT  Рік тому

      I don't understand why you need it on more ports. It only recognizes one port. To get it to work on multiple ports, you'd have to install multiple instances of the container.
      If you want to use it on a port other than 5201, then you would change the port line to be something like:
      - '5555:5201'
      Just don't change the ":5201" because that's the port that the container is listening on.

    • @daliborizer
      @daliborizer Рік тому

      Thank you @@DBTechYT
      My understanding is that once a client uses the default port 5201, the other clients have to wait until that port is released.
      The plan is to create a server multiple client PCs can use.

    • @DBTechYT
      @DBTechYT  Рік тому +1

      That is correct about the port. This container only listens on 1 port. Internally that port is 5201, but you can change that port to something else with the instructions I provided in my previous comment.
      If you want/need to deploy multiple instances of this, then you could do that and just change the port number incrementally on each instance. For example:
      First container
      - '5555:5201'
      Second container
      - '5556:5201'
      Third Container
      - '5557:5201'
      Fourth Container
      - '5558:5201'
      You would also need to change the container name of each instance as well. So, like:
      container_name: iperf3-server1
      container_name: iperf3-server2
      container_name: iperf3-server3
      container_name: iperf3-server4

  • @ronpatten7956
    @ronpatten7956 2 роки тому +2

    Change of compose needed for logging to work.
    version: '3.3'
    services:
    iperf3:
    restart: unless-stopped
    container_name: iperf3-server
    ports:
    - '5201:5201'
    image: networkstatic/iperf3
    stdin_open: true # docker run -i
    tty: true # docker run -t
    command: -s

    • @DBTechYT
      @DBTechYT  2 роки тому

      Thanks! I've updated the stack

    • @eldmaster
      @eldmaster 2 роки тому +1

      well thanks to this comment I was able to build ctop using docker compose in portainer. thanks Ron

    • @dankkster
      @dankkster Рік тому

      @@eldmaster how did you do that? I would love to have this in portainer

    • @dankkster
      @dankkster Рік тому

      nm i got it