A question, more than an issue.
Currently, I'm starting the container via docker-compose:
adb:
ports:
- 5037:5037
privileged: true
volumes:
- ${HOME}/docker/adbd:/root/.android
- /dev/bus/usb:/dev/bus/usb
container_name: adbd
image: devicefarmer/adb
restart: unless-stopped
But every time afterwards, I have to run this to connect to 192.168.1.123
docker exec -it adbd adb connect 192.168.1.123:5555
Is there a way to run a command after the container is up so I wouldn't have to do it manually?