version: '3.3'
services:
  agent_child:
    image: arch_extras_dev
    #command: /usr/sbin/valgrind --leak-check=full /usr/sbin/netdata -D
    command: /usr/sbin/netdata -D       # gdb does not like valgrind !
    #ports:
    #- 21002:19999
    volumes:
      - ./child_stream.conf:/etc/netdata/stream.conf:ro
      # - ./child_guid:/var/lib/netdata/registry/netdata.public.unique.id:ro
      - ./mostly_off.conf:/etc/netdata/netdata.conf:ro
    cap_add:
      - SYS_PTRACE
