-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As the post title suggests, this is a guide for using Docker, Docker Compose, Portainer, udev rules, and scripts to run multiple instances of OctoPrint on a Raspberry Pi 4. To have a general understanding of what we will be doing I will first briefly explain each of the aforementioned components. Docker is an open platform that uses operating system level virtualization to allow for the development, distribution, and running of application images in a container. A container is akin to a virtual machine; the major difference being that all resources are (by default) shared rather than allocated. Docker Compose is a utility that makes it relatively easy to deploy, manage, and scale containers. Portainer is an app image designed to be deployed in a container that provides a web-based GUI for managing containers. Think of it as OctoPrint for Docker even though it runs in Docker. To ensure stability we will also have to create udev rules to govern the behaviors of usb driver events and scripts to stop and start containers in order for them to keep up-to-date with these rules/events. By using these tools in conjunction I hope to achieve an user-friendly stable universally compatible implementation of a Docker-based multi-instance OctoPrint. Let us begin...
As the post title suggests, this is a guide for using Docker, Docker Compose, Portainer, udev rules, and scripts to run multiple instances of OctoPrint on a Raspberry Pi 4. To have a general understanding of what we will be doing I will first briefly explain each of the aforementioned components. Docker is an open platform that uses operating system level virtualization to allow for the development, distribution, and running of application images in a container. A container is akin to a virtual machine; the major difference being that all resources are (by default) shared rather than allocated. Docker Compose is a utility that makes it relatively easy to deploy, manage, and scale containers. Portainer is an app image designed to be deployed in a container that provides a web-based GUI for managing containers. Think of it as OctoPrint for Docker even though it runs in Docker. To ensure stability we will also have to create udev rules to govern the behaviors of usb driver events and scripts to stop and start containers in order for them to keep up-to-date with these rules/events. By using these tools in conjunction I hope to achieve an user-friendly stable universally compatible implementation of a Docker-based multi-instance OctoPrint. Let us begin...