githubEdit

Setup in Docker

Using OctoPrint in a docker container? You need to do some slightly different config.

circle-exclamation

The plugin needs access to the underlying hardware to drive the LEDs. To do this it will need to run privileged with docker.

circle-info

This guide assumes you are using the official OctoPrint containerarrow-up-right and it's docker-compose.yml file.

Add the following mappings to docker-compose.yml under the volumes: section of the OctoPrint service

volumes:
 - octoprint:/octoprint

To enable access to the hardware to drive the LEDs, the container must be run privileged:

privileged: true

The final file should look something like this Gist:

circle-exclamation

Last updated

Was this helpful?