Docker Community Forums

Share and learn in the Docker community.

Unable to find adb devices in a docker machine


(Anilbabugv) #1

Hi All,
I wanted to run my selenium mobile scripts using docker.So iam trying to keep install appium server on my docker machine.Ran below command.

docker run -d -p 4723:4723 --device /dev/bus/usb/XXX/YYY:/dev/bus/usb/XXX/YYY -v ~/.android:/root/.android --name device1 appium/appium

I was able to view appium-server logs but unfortunately my script is unable to find any adb devices associated with it.Giving me an error saying unable to find adb devices.