Docker image for running OctoPrint and Klipper in a single container
Go to file
seanauff 8c077960aa rewrite readme 2020-01-30 14:53:51 -05:00
Dockerfile remove echo static version number 2019-11-03 14:40:14 -05:00
LICENSE Initial commit 2018-06-04 08:03:11 +10:00
README.md rewrite readme 2020-01-30 14:53:51 -05:00
klippy.sudoers Initial commit 2018-06-04 08:27:11 +10:00
klippyoctostart.py Add a basic Klipper and OctoPrint Dockerfile 2018-06-07 22:57:30 +10:00
runklipper.py Number of updates to support latest versions 2019-03-30 23:04:02 +10:00
start.py Number of updates to support latest versions 2019-03-30 23:04:02 +10:00

README.md

OctoPrint-Klipper

My version of a Docker image for running OctoPrint and Klipper in a single container. Included a few plugins I find useful.

Big thanks to sillyfrog for laying the groundwork for this image.

This is very much written for what I needed, so you'll likely need to hack this up for your setup. I've been using it for a little while now and it's going well.

Running the container

Create a directory on your host that will persist config files. I use /home/docker/octoprint-klipper.

Pull the image. Both arm and amd64 images are on DockerHub. If using raspberry pi or similar use arm in place of [tag].

docker pull seanauff/octoprint-klipper:[tag]

Start the container once to populate your config folder:

docker run -d --name octoprint-klipper -e TZ=America/New_York -v /home/docker/octoprint-klipper:/home/octoprint/.octoprint \
    --device /dev/ttyUSB0:/dev/ttyUSB0 \
    -p 5000:5000 \
    seanauff/octoprint-klipper:[tag]

Stop the container, and modify your Klipper printer.cfg and Octoprint config.yaml in the config directory as needed.

Start the container.

If you have any questions, feel free to log an issue on this project, and I'll see if I can help.

Build the image yourself

Clone the repository and build the image:

git clone https://github.com/seanauff/OctoPrint-Klipper.git
docker build -t seanauff/octoprint-klipper OctoPrint-Klipper