Hi guys,
Before starting just to let you know that I am using the Version 17.06.0-ce-mac19 (18663).
At this stage and as far I understood there is no way to get control/access to the Wireless Interface inside a container when running docker from OSX ? Can you confirm ?
So I bought an USB Wireless Adapter and I tried to mount the device to the container until here everything is fine my container is running but the device is not visible inside the container.
I am using docker-compose.yml to run my container:
version: '3'
services:
some_service:
build:
context: .
image: some_image
container_name: some_name
network_mode: "host"
privileged: true
hostname: some_hostname
devices:
- /dev/ttys000
Basically is there a way either to be able to access/control Wireless Interface and/or USB Wireless Adapter in container ? Am I doing the thing in the right way ?
EDIT: Also if I am not setting the privileged option to true, I got this error when starting the container:
ERROR: for some_name Cannot start service some_service: linux runtime spec devices: error gathering device information while adding custom device “/dev/ttys000”: lstat /dev/ttys000: no such file or directory
ERROR: Encountered errors while bringing up the project.
Thank you in advance.