Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.1k stars 5.22k forks source link

klipper via docker? #358

Closed mentaluproar closed 5 years ago

mentaluproar commented 6 years ago

Are there any plans to put klipper in a docker format? I think running it off a pi running alpine linux would be a good idea rather than using octopi.

vladbabii commented 4 years ago

Published a beta of the docker stack https://github.com/klipperondocker/docs Posted here for future reference.

Googliola commented 3 years ago

@shoreliner I actually think that docker is even more complex to use for some people. I don't see why klipper can't just get a "binary" distribution and being installed as package/homebrew or even with an legit installer. I deployed some of our own Python based software for Windows and Python in the past. Having a self contained installation with py2exe is kinda easy to do. You can even add automatic updates. For example by using the Github releases. Maybe the problem here is having avrdude and stuff on Windows (probably... I don't use Windows since years). The real problem (in my eyes) is how to interface to Klipper from "any host" software. As long as this is an OctoPrint only solution there will be hurdles for users which just don't want to use that.. even if installed on the normal host computer.

@shoreliner @oderwat Thanks for your efforts. Like oderwat stated above, I am not to big a fan of octoprint and would love to use klipper and repetier with webcams in a docker environment. Preferably, all of the services in separate containers, so I could also test DWC for klipper or occasionally even use octoprint. But it is indeed too technical to get even close to achieving this for a non-fluent docker like me. I tried to use this repo as a base, but since I had little idea how to move on from there, I decided to stick to a classic RPi setup without docker. Bummer, but anyway, it would be nice to see this approach being pushed further....thanks for sharing your thoughts and githubs!

vladbabii commented 3 years ago

That repo was made by me. Running klipper in docker has some downsides - at least on the way i did it: I run separate docker containers and user socat and ser2net to be able to connect from one container to another. The downside is that the maximum speed is halved to 115200 which means that

I can send you all the docker build files if you want to play with this - i have managed to build the images for everything for klipper, ocotprint and serial server for all arm and x86/x64 platforms

On Wed, Sep 9, 2020 at 11:29 PM Googliola notifications@github.com wrote:

@shoreliner https://github.com/shoreliner I actually think that docker is even more complex to use for some people. I don't see why klipper can't just get a "binary" distribution and being installed as package/homebrew or even with an legit installer. I deployed some of our own Python based software for Windows and Python in the past. Having a self contained installation with py2exe is kinda easy to do. You can even add automatic updates. For example by using the Github releases. Maybe the problem here is having avrdude and stuff on Windows (probably... I don't use Windows since years). The real problem (in my eyes) is how to interface to Klipper from "any host" software. As long as this is an OctoPrint only solution there will be hurdles for users which just don't want to use that.. even if installed on the normal host computer.

@shoreliner https://github.com/shoreliner @oderwat https://github.com/oderwat Thanks for your efforts. Like oderwat stated above, I am not to big a fan of octoprint and would love to use klipper and repetier with webcams in a docker environment. Preferably, all of the services in separate containers, so I could also test DWC for klipper or occasionally even use octoprint. But it is indeed too technical to get even close to achieving this for a non-fluent docker like me. I tried to use this repo https://github.com/klipperondocker/stack as a base, but since I had little idea how to move on from there, I decided to stick to a classic RPi setup without docker. Bummer, but anyway, it would be nice to see this approach being pushed further....thanks for sharing your thoughts and githubs!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/KevinOConnor/klipper/issues/358#issuecomment-689803844, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDTUDEXNCTW2HNXNETK5UTSE7QQZANCNFSM4FB3BJ6Q .

vladbabii commented 3 years ago

Also there are some docs here - https://github.com/klipperondocker/docs

On Thu, Sep 10, 2020 at 10:57 AM Vlad Babii vlad@babii.ro wrote:

That repo was made by me. Running klipper in docker has some downsides - at least on the way i did it: I run separate docker containers and user socat and ser2net to be able to connect from one container to another. The downside is that the maximum speed is halved to 115200 which means that

I can send you all the docker build files if you want to play with this - i have managed to build the images for everything for klipper, ocotprint and serial server for all arm and x86/x64 platforms

On Wed, Sep 9, 2020 at 11:29 PM Googliola notifications@github.com wrote:

@shoreliner https://github.com/shoreliner I actually think that docker is even more complex to use for some people. I don't see why klipper can't just get a "binary" distribution and being installed as package/homebrew or even with an legit installer. I deployed some of our own Python based software for Windows and Python in the past. Having a self contained installation with py2exe is kinda easy to do. You can even add automatic updates. For example by using the Github releases. Maybe the problem here is having avrdude and stuff on Windows (probably... I don't use Windows since years). The real problem (in my eyes) is how to interface to Klipper from "any host" software. As long as this is an OctoPrint only solution there will be hurdles for users which just don't want to use that.. even if installed on the normal host computer.

@shoreliner https://github.com/shoreliner @oderwat https://github.com/oderwat Thanks for your efforts. Like oderwat stated above, I am not to big a fan of octoprint and would love to use klipper and repetier with webcams in a docker environment. Preferably, all of the services in separate containers, so I could also test DWC for klipper or occasionally even use octoprint. But it is indeed too technical to get even close to achieving this for a non-fluent docker like me. I tried to use this repo https://github.com/klipperondocker/stack as a base, but since I had little idea how to move on from there, I decided to stick to a classic RPi setup without docker. Bummer, but anyway, it would be nice to see this approach being pushed further....thanks for sharing your thoughts and githubs!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/KevinOConnor/klipper/issues/358#issuecomment-689803844, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDTUDEXNCTW2HNXNETK5UTSE7QQZANCNFSM4FB3BJ6Q .