nunofgs / docker-octoprint

Dockerfile to set up Octoprint with x86, armv6, armv7 and arm64 support!
https://hub.docker.com/r/nunofgs/octoprint/
GNU Affero General Public License v3.0
58 stars 32 forks source link

Camera works great out of the box but printer does not. #36

Closed LordJABA closed 4 years ago

LordJABA commented 4 years ago

Hi - this may be me being stupid as im not so familiar with docker. I started the container using sudo docker run --device=/dev/video0 -p 5000:80 -v octoprint:/data nunofgs/octoprint where "octoprint" is docker volume name but as i was expecting i cannot connect to printer on /dev/ttyUSB0 as no serial ports are visible in octoprint

running on x86 debian

LordJABA commented 4 years ago

second --device/dev/ttyUSB0 was enough to get it working. But it was not obvious for me that I can specify the option multiple times - and lack of any mention of that, despite mentioning the camera added to my confusion- So maybe add it to readme?? Thanks for the container, and sorry to bother you.