I am trying to get Octoprint to work in a container.
but I cannot configure my usb port on my host machine and in my container, so that communication is done correctly.
On my host machine, I have a symbolic link of /dev/bus/usb/00x/00x -> /dev/ttyACM0
I also created a Docker user and a Docker group which I made owner of /dev/bus/usb/00x/00x.
I also set her a 777 right.
In my container I added:
but I still get the error:
Unexpected error while connecting to serial port: AUTO SerialException: ‘Could not configure port: (25,’ Not a tty ‘)’ @ comm.py:_openSerial:2661 (hook default)
Do I need to map it to /dev/ttyUSB0 …
I had already tested with another container but I did not manage to make usb work either.