October-22nd-2019, 12:10 PM
Well, a device "/dev/..." in a container is as good as if you would access it on a native host. This is all managed by Docker automatically and is not related to netPI or its hardware.
The very same applies for any software that runs in a container. Python runs the same as on a native host.
These three restrictions we have on netPI
* privileged mode is not automatically adding all host devices /dev/ to a container
* volume bind mounts to rootfs is not supported
* the devices /dev,/dev/mem,/dev/sd*,/dev/dm*,/dev/mapper,/dev/mmcblk* cannot be added to a container
Others are not know by me or my team.
So to which device was your CDC device finally mapped to? How did you find it?
You say you have a problem with python. Which problem do you have?
Thx
Armin
The very same applies for any software that runs in a container. Python runs the same as on a native host.
These three restrictions we have on netPI
* privileged mode is not automatically adding all host devices /dev/ to a container
* volume bind mounts to rootfs is not supported
* the devices /dev,/dev/mem,/dev/sd*,/dev/dm*,/dev/mapper,/dev/mmcblk* cannot be added to a container
Others are not know by me or my team.
So to which device was your CDC device finally mapped to? How did you find it?
You say you have a problem with python. Which problem do you have?
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)