STF之Docker-for-Mac失败

link on JianShu

###容器访问 外部访问容器 启动容器docker container ls 进入容器 docker attach container_id 退出容器不关闭容器 Ctrl+q Ctrl+q

adb basic

adb detail How ADB works How ADB works cnblogs

  • 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宿主环境

结论

stf 讨论 docker 官方讨论 sorccu docker-adb 这里都使用说明也表面都需要将文件挂载到docker中,否则无法获取到usb设备

Mounts denied. The paths … are not shared from OS X and are not known to Docker

在Mac环境下都Docker,暂时无法直接接入宿主机上连接都设备

 
comments powered by Disqus