Map devices to docker container

Discussion about Docker
Locked
User avatar
MDvP
Posts: 7
Joined: 19 Dec 2020, 20:36

Map devices to docker container

Post by MDvP »

I'm missing the option to map a USB-device to a docker container. With the new kernel drivers my zigbee usb is detected as /dev/ttyUSB0, but i can't access it from withing the docker container.
I've tried setting in ENV section USBDEVICES, tried to map as volume and tried to edit hostconfig.json with `devices:["/dev/ttySB0:/dev/ttyUSB0"]`
but nothing works. Any suggestions?
TNAS: F4-220, 4GB Ram, TOS 5.1.37, 8GB System, 2x4TB IronWolf TRaid Btrfs , 1TB SSD-WDRed Btrfs
User avatar
MDvP
Posts: 7
Joined: 19 Dec 2020, 20:36

Re: Map devices to docker container

Post by MDvP »

Just to complete my test descriptions: also tested with "use high permissions", no success.
Locked

Return to “Docker”