Hi,

I am facing the issue while porting Host's  "adb-devices" to lava-dispatcher docker.

Please can some one provide the right steps to detect "adb-devices" in "lava-dispatcher" docker?

Current steps:  (still my lava-dispatcher fail to detect the Host's "adb-devices")
###########
1. Lauch the LAVA-lab using "docker-compose up" from the repo "https://github.com/danrue/lava-docker-compose.git"
2. add "/dev/bus/usb"  ,  "/etc/udev/rules.d"  and  "privileged: True" to "lava-dispatcher" i.e
"  dispatcher:
    image: lavasoftware/lava-dispatcher:2019.12
    container_name: lava_dispatcher
    privileged: True
    devices:
      - /dev/kvm # needed for QEMU
      - /dev/net/tun # needed for QEMU
      - /dev/bus/usb
    cap_add:
      - NET_ADMIN # needed for QEMU
    environment:
      - "DISPATCHER_HOSTNAME=--hostname=dispatcher"
      - "LOGGER_URL=tcp://server:5555" # url to send logs
      - "MASTER_URL=tcp://server:5556" # url of lava master
    volumes:
      - '/boot:/boot:ro'
      - '/lib/modules:/lib/modules:ro'
      - '/dev/bus/usb:/dev/bus/usb'
      - '/etc/udev/rules.d:/etc/udev/rules.d'"
3. Run the command #docker-compose up
4. Login to lava-dispatcher  #docker exec -it <dispatcher-name" bash
     #apt-get update;apt-get install android-tools-adb android-tools-fastboot usbutils
     #adb devices


Can some one let me know the steps to  detect my host's "adb-devices" in lava-dispatcher's docker?

Regards,
Koti