Klipper with Moonraker shipped with Fluidd and/or Mainsail
Git
main/ tagv2.0.0is the source of truth for layout, Compose, and docs. Release notes:CHANGELOG.md.Docker Hub
dimalo/klipper-moonraker:latestwas republished with the 2.0.0 line (post-#75, 2026-10-27). There is no Hub tag named2.0.0yet — pulllatestor a date tag (e.g.20261027-1727), and still check Hub last-pushed / digest before trusting a printer host. Git tags and Hub tags are not the same channel until a version tag exists on Hub.Prefer build-from-repo when you need a known git SHA. Frontend Hub tags (
dimalo/fluidd,dimalo/mainsail) can move on a different cadence than the core image — pin/verify core explicitly.:nextis optional interim; date-check it the same way.Paths use Moonraker’s
printer_datalayout. Upgrading from/home/klippy/.config? → docs/migration-printer-data.md.
Prerequisites: Linux or MacOS host with Docker Compose v2; printer firmware flashed; serial device known (e.g. /dev/ttyUSB0). MacOS cannot pass serial into containers (docker/for-mac#900) — see docs/hardware/mcu-serial.md.
-
Clone this repo and adjust Compose (serial in
docker-compose.hw.yml; optionalprinter.cfgmount underprinter_data/config). -
With a real printer:
docker compose -f docker-compose.yml -f docker-compose.hw.yml pull docker compose -f docker-compose.yml -f docker-compose.hw.yml up
Omit
pullto build from this repo’s Dockerfiles instead. -
Ports: Moonraker 7125, Fluidd 8010. Mainsail 8011 only after you uncomment the
mainsailservice indocker-compose.yml(commented out by default). -
Open http://localhost:8010 — upload/edit
printer.cfg, confirm Klipper connects to the MCU.
No printer hardware? Plain docker compose up brings containers up for editing configs, but it is not a reliable “Klippy Ready / Fluidd proxy works” path (stock config has no primary printer MCU; default klipper_mcu may fail without the CI supervisor override; some hosts break Fluidd→Moonraker over the Docker bridge). For no-hardware verification use the host-MCU CI stack: docs/ci-smoke.md.
Not running? Serial/permissions → docs/hardware/mcu-serial.md. Klipper libseccomp / time errors → update libseccomp (linuxserver FAQ).
When things look good, stop the foreground session (Ctrl+C) and re-run the same docker compose … up -d command.
| Topic | Doc |
|---|---|
| Release notes | CHANGELOG.md · v2.0.0 |
| Updating this stack (not Fluidd “Update”) | docs/updates.md |
Migration (.config → printer_data) |
docs/migration-printer-data.md |
| CI smoke / no-hardware host MCU | docs/ci-smoke.md |
| Frontends (Hub vs GHCR) | docs/frontend-strategy.md |
| Portainer | docs/platforms/portainer.md · examples/portainer-stack.yml |
| Multi-printer / Fluidd | docs/platforms/multi-printer.md |
| Unraid | docs/platforms/unraid.md |
| Synology | docs/platforms/synology.md |
| MCU serial | docs/hardware/mcu-serial.md |
| ADXL345 / input shaper | docs/hardware/adxl345.md |
- Multiarch Hub images: amd64, arm64, arm/v7 (arm/v6 dropped with the bookworm base — see #75)
- Multistage builds; supervisord starts Klipper then Moonraker
- Fluidd and optional Mainsail (run both if you enable Mainsail in Compose)
- Config under
printer_data(config,gcodes,database) — mountprinter.cfgat/home/klippy/printer_data/config/printer.cfgor supply it via the UI - Optional klipper_z_calibration extension
- Useful macros in
config/client_macros.cfgand calibration helpers inconfig/calibration_macros.cfg— review before running on a real printer - ADXL345 example:
docker-compose-adxl345.yml· docs/hardware/adxl345.md
Not in this image: compiling klipper.bin for your MCU; in-container Fluidd/Mainsail “Update” (Moonraker Update Manager is disabled — docs/updates.md; pins live in upstream.lock / frontend zips — docs/frontend-strategy.md).
- Macro inspiration: fl0r1s/klipper_config
- Klipper · Moonraker · Fluidd · Mainsail · klipper_z_calibration
- RepRap / open-source community