/docker-iperf3

Runs an iPerf3 server in Docker

Primary LanguageDockerfileMIT LicenseMIT

docker-iperf3

CI/CD Docker Image Size (latest semver)

Runs an iPerf3 server in Docker

Explanation

  • This runs an iPerf3 server in Docker.

Requirements

N/A

Docker image information

Docker image tags

  • latest: Latest version
  • X.X.X: Semantic version (use if you want to stick on a specific version)

Environment variables

N/A

Ports

Port on host Port in container Comments
Choose at your discretion 5201 iPerf3 server

Volumes

N/A

Example usage

Below is an example docker-compose.yml file.

version: '3'
services:
  iperf3:
    container_name: docker-iperf3
    restart: unless-stopped
    networks:
      - iperf3
    ports:
      - '5201:5201'
    image: loganmarchione/docker-iperf3:latest

networks:
  iperf3:

Below is an example of running locally (used to edit/test/debug).

# Build the Dockerfile
docker compose -f docker-compose-dev.yml up -d

# View logs
docker compose -f docker-compose-dev.yml logs -f

# Destroy when done
docker compose -f docker-compose-dev.yml down

TODO

  • Add image based on Ubuntu or Debian
  • Run the processes inside the container as a non-root user