hello, guys,
just something to add to fulfil the Pattern 2 - Host network (easy but feels wrong)
same way to start the server by binding the ADB server directly to the host, and know the host ip to lanuch the adb client in the same machine:
docker run -e "ADB_SERVER_SOCKET=tcp:xxxxx:5037" xxx:xx adb devices
need pass the host ip to container by environment variable.
each container in the same machine still have own ip.
hello, guys, just something to add to fulfil the Pattern 2 - Host network (easy but feels wrong) same way to start the server by binding the ADB server directly to the host, and know the host ip to lanuch the adb client in the same machine: docker run -e "ADB_SERVER_SOCKET=tcp:xxxxx:5037" xxx:xx adb devices need pass the host ip to container by environment variable.
each container in the same machine still have own ip.