mkuf / prind

print in docker - Deploy a containerized Klipper Stack for your 3D Printer
GNU General Public License v3.0
324 stars 82 forks source link

Add support for CANbus passthrough #101

Closed wanderling closed 9 months ago

wanderling commented 9 months ago

I would like to humbly request support for CANbus passthrough, most likely using can-gw. Here is one example. I was able to make it work on an Alpine and Ubuntu base docker images. I just don't have enough docker knowledge to dig in your code.

This would be revolutionary from a compatability standpoint.

This is my last hope to use docker for this. My next move if this won't work is VMs.

I appreciate your help.

mkuf commented 9 months ago

This is a duplicate of https://github.com/mkuf/prind/issues/52.

The code base has changed a bit since the initial solution was posted, but adding this snippet to your override file will allow acces to can devices. Any further configuration has to be done in klipper itself.

services:
  klipper:
    network_mode: host