docker-compose for SIPp

version: "3"

services:
  sipp:
    container_name: "sipp"
    #image: ctaloi/sipp
    image: docker.io/drachtio/sipp:latest
    #network_mode: host
    #logging:
    #  driver: "json-file"
    #  options:
    #    max-file: "10"
    #    max-size: "200m"
    #restart: always
    #env_file: ./.env
    ulimits:
      core: -1
    privileged: true
    stdin_open: true
    tty: true
    ports:
      - "5060:5060/udp"
      - "6000-6100:6000-6100/udp"
    volumes:
      - ./:/data
    #entrypoint: ["/usr/local/bin/sipp", "-sf", "/data/uac.xml", "-i", "192.168.100.75", "-p", "9998", "-mp", "6000", "-t", "u1", "-m", "1",  "192.168.100.75:9999"]
    entrypoint: 
      - /bin/bash

这个镜像不错,基础镜像是debian8(jessie),添加组件比较方便

你可能感兴趣的:(docker,sipp)