{"id":21868731,"url":"https://github.com/davidk/docker-slic3r-prusa3d","last_synced_at":"2026-03-08T09:36:45.465Z","repository":{"id":18995653,"uuid":"85767486","full_name":"davidk/docker-slic3r-prusa3d","owner":"davidk","description":"PrusaSlicer in a Docker container (Prusa3D's Slic3r fork) - Automated Docker Hub tags/rebuilds/updates via GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-12-21T02:39:38.000Z","size":392,"stargazers_count":29,"open_issues_count":3,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T10:50:27.175Z","etag":null,"topics":["docker","prusa3d","slic3r"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/keyglitch/docker-slic3r-prusa3d/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-22T00:28:33.000Z","updated_at":"2024-10-25T01:22:09.000Z","dependencies_parsed_at":"2024-08-12T08:04:39.007Z","dependency_job_id":null,"html_url":"https://github.com/davidk/docker-slic3r-prusa3d","commit_stats":null,"previous_names":[],"tags_count":112,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidk%2Fdocker-slic3r-prusa3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidk%2Fdocker-slic3r-prusa3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidk%2Fdocker-slic3r-prusa3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidk%2Fdocker-slic3r-prusa3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidk","download_url":"https://codeload.github.com/davidk/docker-slic3r-prusa3d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975333,"owners_count":21192197,"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","prusa3d","slic3r"],"created_at":"2024-11-28T05:15:06.199Z","updated_at":"2026-03-08T09:36:45.394Z","avatar_url":"https://github.com/davidk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-prusaslicer\n\nThis repository tracks and containerizes [Prusa3D's PrusaSlicer](https://github.com/prusa3d/PrusaSlicer). The files here contain the Dockerfile, supporting scripts and instructions for usage.\n\n![PrusaSlicer GUI running in a Docker container](img/prusaslicer-in-docker.png)\n\nIf you're looking for a regular build of PrusaSlicer, the latest builds are available on PrusaSlicer's [releases page](https://github.com/prusa3d/PrusaSlicer/releases).\n\nTo grab and run PrusaSlicer as a container (in GUI mode)\n\n    docker run --net=host \\\n    -v /tmp/.X11-unix:/tmp/.X11-unix \\\n    -v $PWD:/Slic3r/3d:z \\\n    -v slic3rSettings:/home/slic3r \\\n    -e DISPLAY=$DISPLAY \\\n    --rm keyglitch/docker-slic3r-prusa3d\n\nPrusaSlicer can also be run without the GUI, for slicing via scripts, etc. The [slic3r-action repository](https://github.com/davidk/slic3r-action) is an example of this usage. \n\n## Container notes\n\n* Your current directory will be mounted into the container at /Slic3r/3d (change the :z option as appropriate to :rw/:ro).\n\n* Settings are persisted into the slic3rSettings volume.\n\n* Fedora users: SELinux might block access to X by slic3r inside the container. Look in /var/log/messages or /var/log/audit/audit.log to see if this is happening (and for the relevant commands to fix).\n\n* Alternatively, there might be a permission error upon trying to access X. Try running `xhost local:root` to fix (this is a temporary fix and must be reapplied when restarting the host).\n\nSample error example:\n\n    No protocol specified\n    19:13:54: Error: Unable to initialize GTK+, is DISPLAY set properly?\n    Failed to initialize wxWidgets at /Slic3r/slic3r-dist/lib/site_perl/5.22.0/Slic3r/GUI/2DBed.pm line 10.\n    Compilation failed in require at /Slic3r/slic3r-dist/lib/site_perl/5.22.0/Slic3r/GUI/2DBed.pm line 10.\n    BEGIN failed--compilation aborted at /Slic3r/slic3r-dist/lib/site_perl/5.22.0/Slic3r/GUI/2DBed.pm line 10.\n    Compilation failed in require at /Slic3r/slic3r-dist/lib/site_perl/5.22.0/Slic3r/GUI.pm line 9.\n    BEGIN failed--compilation aborted at /Slic3r/slic3r-dist/lib/site_perl/5.22.0/Slic3r/GUI.pm line 9.\n    Compilation failed in require at (eval 87) line 1.\n\n## Building the latest release locally\n\nIf the hub version is ever out of date (or for any other reason), it is possible to build an image locally. `getLatestPrusaSlicerRelease.sh` will automatically try to get the latest non-AppImage version through the GitHub API during the build process.\n\nBuilding:\n\n    $ docker build -t docker-slic3r-prusa3d .\n    Sending build context to Docker daemon 73.73 kB\n    [ .. truncated ..]\n\n## Convenience Script\n\nA [small script](https://raw.githubusercontent.com/davidk/docker-slic3r-prusa3d/master/slic3r.sh) wraps the `docker run` command above. It also contains a commented out snippet for poking around the persistent volume.\n\n### Example\n\n    $ echo $PATH\n    /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/davidk/.local/bin:/home/davidk/bin\n    $ cp slic3r.sh /home/davidk/.local/bin/slic3r\n    $ chmod +x /home/davidk/.local/bin/slic3r\n    $ slic3r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidk%2Fdocker-slic3r-prusa3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidk%2Fdocker-slic3r-prusa3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidk%2Fdocker-slic3r-prusa3d/lists"}