{"id":23204647,"url":"https://github.com/pedrolamas/docker-kalico-simulavr","last_synced_at":"2025-08-19T01:31:55.273Z","repository":{"id":266761802,"uuid":"899272988","full_name":"pedrolamas/docker-kalico-simulavr","owner":"pedrolamas","description":":package: Docker image for Kalico with Simulavr, Moonraker, and mjpg-streamer","archived":false,"fork":false,"pushed_at":"2024-12-13T11:49:52.000Z","size":181,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-13T12:36:20.571Z","etag":null,"topics":["docker","docker-image","kalico","klipper","moonraker","simulavr"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedrolamas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"pedrolamas","patreon":"pedrolamas","ko_fi":"pedrolamas","custom":"https://paypal.me/pedrolamas"}},"created_at":"2024-12-05T23:54:12.000Z","updated_at":"2024-12-13T11:49:56.000Z","dependencies_parsed_at":"2024-12-06T01:28:58.322Z","dependency_job_id":"8303bbce-93bf-4605-990c-46b7fc8bb529","html_url":"https://github.com/pedrolamas/docker-kalico-simulavr","commit_stats":null,"previous_names":["pedrolamas/docker-kalico-simulavr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolamas%2Fdocker-kalico-simulavr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolamas%2Fdocker-kalico-simulavr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolamas%2Fdocker-kalico-simulavr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolamas%2Fdocker-kalico-simulavr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrolamas","download_url":"https://codeload.github.com/pedrolamas/docker-kalico-simulavr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230301982,"owners_count":18205174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","kalico","klipper","moonraker","simulavr"],"created_at":"2024-12-18T16:19:35.890Z","updated_at":"2025-08-19T01:31:55.255Z","avatar_url":"https://github.com/pedrolamas.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/pedrolamas","https://patreon.com/pedrolamas","https://ko-fi.com/pedrolamas","https://paypal.me/pedrolamas","https://www.patreon.com/pedrolamas"],"categories":[],"sub_categories":[],"readme":"# docker-kalico-simulavr\n\n[![Project Maintenance](https://img.shields.io/maintenance/yes/2025.svg)](https://github.com/pedrolamas/docker-kalico-simulavr 'GitHub Repository')\n[![License](https://img.shields.io/github/license/pedrolamas/docker-kalico-simulavr.svg)](https://github.com/pedrolamas/docker-kalico-simulavr/blob/master/LICENSE 'License')\n\n[![Release](https://github.com/pedrolamas/docker-kalico-simulavr/workflows/Release/badge.svg)](https://github.com/pedrolamas/docker-kalico-simulavr/actions 'Build Status')\n\n[![Follow pedrolamas.com on Bluesky](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fpublic.api.bsky.app%2Fxrpc%2Fapp.bsky.actor.getProfile%2F%3Factor%3Dpedrolamas.com\u0026query=%24.followersCount\u0026style=social\u0026logo=bluesky\u0026label=Follow%20%40pedrolamas.com)](https://bsky.app/profile/pedrolamas.com)\n[![Follow pedrolamas on Mastodon](https://img.shields.io/mastodon/follow/109365776481898704?label=Follow%20@pedrolamas%20on%20Mastodon\u0026domain=https%3A%2F%2Fhachyderm.io\u0026style=social)](https://hachyderm.io/@pedrolamas)\n\nSimple Docker image running [Kalico](https://github.com/KalicoCrew/kalico/) with Simulavr, [Moonraker](https://github.com/Arksine/moonraker/), and [mjpg-streamer](https://github.com/jacksonliam/mjpg-streamer).\n\nThis repo will run a GitHub action every hour to check for new code on the default branches of the Kalico and Moonraker repositories, and creates a new Docker image if there are any modifications.\n\n## Usage\n\nCreate and run the new container as you would normally do:\n\n```sh\ndocker run -d \\\n  --name kalico-simulavr \\\n  --net=host \\\n  ei99070/docker-kalico-simulavr\n```\n\nThis will start Klipper with a simulated Atmel ATmega micro-controller, Moonraker on port 7125, and mjpg-streamer on port 8080.\n\nIf you need to remap the default ports, run the container under the bridge network instead:\n\n```sh\ndocker run -d \\\n  --name kalico-simulavr \\\n  -p 7125:7125 \\\n  -p 8080:8080 \\\n  ei99070/docker-kalico-simulavr\n```\n\nThe default configuration files used can be found on the [klipper_config](/klipper_config) folder.\n\nThis is the runtime folder structure:\n\n```txt\n/printer\n  /klipper\n  /klippy-env\n  /mjpg-streamer\n  /moonraker\n  /moonraker-env\n  /printer_data\n    /config\n      /moonraker.conf\n      /printer.cfg\n    /database\n    /gcodes\n    /logs\n      /klippy.log\n      /moonraker.log\n      /supervisord.log\n    /moonraker.asvc\n  /pysimulavr\n```\n\nAny of these files can be overrided by mapping the folder or the specific file.\n\nFor example, here is how to override the default `printer.cfg`:\n\n```sh\ndocker run -d \\\n  --name kalico-simulavr \\\n  --net=host \\\n  -v my-printer.cfg:/printer/printer_data/config/printer.cfg \\\n  ei99070/docker-kalico-simulavr\n```\n\n## Klippy Extras\n\nSome Klipper extra modules are included as part of this image, specifically:\n\n- `virtual_pins` - https://github.com/pedrolamas/klipper-virtual-pins\n\n## Convenience scripts\n\nThe image includes the following convenience scripts:\n\n- `enable-timelapse` - installs the Moonraker Timelapse dependencies, updates the configuration files, and restart Klipper and Moonraker\n- `restore-klipper-repo` - restores the Klipper git repository to the same point where the docker image was created\n- `restore-moonraker-repo` - restores the Moonraker git repository to the same point where the docker image was created\n\nOnce the Docker container has started, these can be easily run:\n\n```sh\ndocker exec -it kalico-simulavr enable-timelapse\n```\n\n## Available tags\n\n- `latest`: points to Kalico and Moonraker default branches\n- `klipper-sha-\u003chash\u003e`: points to the Kalico GitHub commit hash\n- `moonraker-sha-\u003chash\u003e`: points to the Moonraker GitHub commit hash\n\n## FAQ\n\n### I keep getting \"MCU 'mcu' shutdown: Timer too close\"\n\nStart the container with `SIMULAVR_PACING_RATE` environment variable set to something like `0.2`, like this:\n\n```sh\ndocker run -d \\\n  --name kalico-simulavr \\\n  --net=host \\\n  -e SIMULAVR_PACING_RATE=0.2\n  ei99070/docker-kalico-simulavr\n```\n\n## Support my work\n\nA lot of time and effort goes into the development of this and other open-source projects.\n\nIf you find this project valuable, please consider supporting my work by making a donation.\n\n[![Donate on Paypal](https://img.shields.io/badge/donate-paypal-blue.svg)](https://paypal.me/pedrolamas 'Donate on Paypal')\n[![Buy me a coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-kofi-blue.svg)](https://ko-fi.com/pedrolamas 'Buy me a coffee')\n[![Support me on Patreon](https://img.shields.io/badge/join-patreon-blue.svg)](https://www.patreon.com/pedrolamas 'Support me on Patreon')\n[![Sponsor me on GitHub](https://img.shields.io/github/sponsors/pedrolamas.svg?label=github%20sponsors)](https://github.com/sponsors/pedrolamas 'Sponsor me on GitHub')\n\nThank you for your generosity and support! 🙏\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrolamas%2Fdocker-kalico-simulavr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrolamas%2Fdocker-kalico-simulavr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrolamas%2Fdocker-kalico-simulavr/lists"}