Failed to connect android device from Docker

Hi ,

I am going through “Deploy the Pretrained Model on Android” tutorial and my android phone is failed to connect docker container.

I have installed TVM RPC APK on my phone and fill the following details

ip: 0.0.0.0 port: 9190 key: android

When I run the RPC querying command I could n’t see any device in the container shell and I am not sure what I am missing it?

In the docker environment I don’t see network utils or USB device files so, how the android device will be connecting to docker container? am I missing somehow here?

Kindly help me on this?

I have done the following two things and its working fine now.

  1. Mount the host /dev/bus/usb
  2. In the RPC APK, I have mentioned host IP instead of 0.0.0.0, looks like I have missed this point.

Thanks and Regards, Raju