File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 8282 driver = new AndroidDriver<MobileElement>(new URL("http://192.168.99.100:32769/wd/hub"), caps);
8383 }
8484 ```
85+ ### Share Android identification key
86+
87+ Each time, you will (re)create container, connected to container devices will ask for authorization after first
88+ connection. To prevent that, you can share one identity through all created containers. To do that, you should:
89+
90+ - Connect all devices to docker physical machine
91+ - Run `adb devices`
92+ - Authorize all devices (do not forget to check **Always allow this computer**)
93+
94+ 
95+
96+ - run your containers with parameter `-v ~/.android:/root/.android`
97+
98+ For example:
99+ ```
100+ $ docker run --privileged -d -p 4723:4723 -v ~ /.android:/root/.android -v /dev/bus/usb:/dev/bus/usb --name container-appium appium/appium
101+ ```
85102
86103### Connect to Android devices by Air
87104
You can’t perform that action at this time.
0 commit comments