version: "3.6"
services:
  iperf3:
    command:
      - "networkstatic/iperf3"
      - "-s"
    container_name: "iperf3"
    entrypoint:
      - "iperf3"
    environment:
      - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    hostname: "iperf3"
    image: "networkstatic/iperf3:latest"
    ipc: "private"
    logging:
      driver: "db"
      options: {}
    network_mode: "host"
    restart: "always"
    stdin_open: true
    tty: true