smart-test-ti / SoloX

💯SoloX - Real-time collection tool for Android/iOS performance data.(Android性能测试android performance\iOS性能测试ios performance\移动端性能测试mobile performance\APP性能测试app performance\app性能测试工具)
https://smart-test-ti.github.io/solox
MIT License
993 stars 177 forks source link

Can we run SoloX in docker? #163

Open Sivasankaramalan opened 1 year ago

Sivasankaramalan commented 1 year ago

I wanted to Run SoloX in docker, is there any provision?

Sivasankaramalan commented 1 year ago

I was able to run the Service Successfully in docker, but it's not able to connect the device which is connected to Mac. is there any configuration we need to update?

Logs: 2023-05-24 17:33:09 * daemon started successfully 2023-05-24 17:33:09 - waiting for device - 2023-05-24 17:33:09 [I 230524 12:03:09 common:61] Connected devices: [] 2023-05-25 14:42:16 [I 230525 09:12:16 common:61] Connected devices: [] 2023-05-25 14:42:16 [I 230525 09:12:16 web:45] Initializing adb environment ... 2023-05-25 14:42:16 error: protocol fault (couldn't read status): Success 2023-05-25 14:42:17 * daemon not running; starting now at tcp:5037 2023-05-25 14:42:20 * daemon started successfully 2023-05-25 14:42:20 - waiting for device -

image
rafa0128 commented 1 year ago

Please check if your mobile device has turned on the debug switch?

Sivasankaramalan commented 1 year ago

Yes, When i'm running soloX in local it was working perfectly fine, but while running the service in docker, it is not able to get the device details,

OS : MAC