Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I recently set up my raspberry pi 4 (8gb) to run multiple instances of Octoprint using Docker, Docker Compose, Portainer, and the appropriate app image. As far as I could find there are no concise and coherent guides to do this and I'm fairly sure there are none that use Portainer. I opted to use Portainer (Cockpit is too limited) to provide a GUI to make things as noob friendly as possible; I'm no silicon sorcerer, linux ninja and probably haven't even achieved the status of bash bunny, script kiddie, but I managed. It seems to be an more elegant solution than Chris Riley's various methods. Although I'm unsure of all the trade offs relative to his methods and idc about webcams.
I recently set up my raspberry pi 4 (8gb) to run multiple instances of Octoprint using Docker, Docker Compose, Portainer, and the appropriate app image. As far as I could find there are no concise and coherent guides to do this and I'm fairly sure there are none that use Portainer. I opted to use Portainer (Cockpit is too limited) to provide a GUI to make things as noob friendly as possible; I'm no silicon sorcerer, linux ninja and probably haven't even achieved the status of bash bunny, script kiddie, but I managed. It seems to be an more elegant solution than Chris Riley's various methods. Although I'm unsure of all the trade offs relative to his methods and idc about webcams.
In addition to being able to run multiple instances from one pi, another use case would be if you'd like to free up your pi by running just one instance thereby allowing you to use Raspbian simultaneously (a better option than BerryBoot for this use case imo); you can have your pi and eat it too, lol. The tutorial would assume you have an up-to-date install of Raspbian on a pi 4 connected to a monitor, keyboard, mouse, and the internet. This could all be done via ssh and without Portainer, but that would not be noob friendly and if that seems like a significantly better method, you probably don't need a tutorial and may be able to explain to me how to use swarm mode stacks and/or Kubernetes to scale and automate a print farm. You may also want to check out DockerHub so see all the other nifty, keen toys you could play with.
I recently set up my raspberry pi 4 (8gb) to run multiple instances of Octoprint using Docker, Docker Compose, Portainer, and the appropriate app image. As far as I could find there are no concise and coherent guides to do this and I'm fairly sure there are none that use Portainer. I opted to use Portainer (Cockpit is too limited) to provide a GUI to make things as noob friendly as possible; I'm no silicon sorcerer, linux ninja and probably haven't even achieved the status of bash bunny, script kiddie, but I managed. It seems to be an more elegant solution than Chris Riley's various methods. Although I'm unsure of all the trade offs relative to his methods and idc about webcams.