I’m running lw4 as a docker image on a RaspberryPi 3.
The RRI is connected via USB to the Ortur LaserMaser2 on ttyACM0.
I’m using the folowing docker-compose file :
version: '2.4' services: lawerweb4: image: laserweb4:latest restart: unless-stopped ports: - 82:8000 devices: - /dev/ttyACM0:/dev/ttyACM0
The service runs fine and I can get the web interface.
But when I attempt to connect to the machine, the port is not detected and I cannot select any port for my USB connexion.
what is wrong, is there something else that should be defined in the docker-compose.
Nota : when running “outside” docker (as a normal rpi install) it is working fine.