Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.
/ dwc2-klipper Public archive

Docker image for running DWC2 and Klipper 3D Printer controller software

License

Notifications You must be signed in to change notification settings

seanauff/dwc2-klipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwc2-klipper

dwc2-klipper is a Docker image for running DWC2 and Klipper 3d Printer controllers. It is design to run on Raspberry Pi or similar.

More info

DockerHub Image

Because of recent changes to Klipper, this utilizes the fork from pluuuk as discussed here.

Prepare your printer.cfg file

Copy an appropriate config file from here and add the following lines to it:

[virtual_sdcard]
path: /home/dwc2-klipper/sdcard

[web_dwc2]
## optional - defaulting to Klipper
printer_name: Klipper
# optional - defaulting to 0.0.0.0
listen_adress: 0.0.0.0
# needed - use above 1024 as nonroot
listen_port: 4750
# optional defaulting to dwc2/web. Its a folder relative to your virtual sdcard.
web_path: dwc2/web

Rename the file printer.cfg and place in a known place on your docker host, which you will mount when starting the container.

Running via Docker

Pull the image. If using raspberry pi or similar use arm in place of [tag]. amd64 is also available:

docker pull seanauff/dwc2-klipper:[tag]

Start the container:

docker run -d --device /dev/ttyUSB0:/dev/ttyUSB0 -v [some/path/on/host]:/home/dwc2-klipper/config -p 4750:4750 seanauff/dwc2-klipper:[tag]

Build the image yourself

Clone the repository and build the image:

git clone https://github.com/seanauff/dwc2-klipper.git
docker build -t seanauff/dwc2-klipper dwc2-klipper

About

Docker image for running DWC2 and Klipper 3D Printer controller software

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published