docker container ls
docker attach container_id
- A client, which sends commands. The client runs on your development machine. You can invoke a client from a command-line terminal by issuing an adb command.
- A daemon (adbd), which runs commands on a device. The daemon runs as a background process on each device.
- A server, which manages communication between the client and the daemon. The server runs as a background process on your development machine.
Use adb from Docker Container
Use ADB to Connect to Your Android Device From a Docker Container Connecting to a USB Android device in a Docker container via ADB You want to use devices like /dev/ttyUSB0 or need to access raw USB devices under /dev/bus/usb in a docker container 在linux宿主机环境下可行 Docker Network and ADB Devices依然需要virtual box的方式，依赖usb 识别工具 Getting a USB device to show up in a Docker container on OS X 以上所有的讨论方案都依赖linux宿主环境
在Mac环境下都Docker，暂时无法直接接入宿主机上连接都设备comments powered by Disqus