Unable to find adb devices in a docker machine

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.

HI @anilbabugv, Did u resolve the issue? I can’t connect 2 devices properly now.