{"id":21531524,"url":"https://github.com/aguslr/docker-cups","last_synced_at":"2026-02-02T10:07:44.880Z","repository":{"id":189324376,"uuid":"633912644","full_name":"aguslr/docker-cups","owner":"aguslr","description":"Set up CUPS to share USB printers over the network","archived":false,"fork":false,"pushed_at":"2025-06-06T20:54:50.000Z","size":68,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T01:45:32.134Z","etag":null,"topics":["cups","cupsd","docker","podman"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aguslr.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,"zenodo":null}},"created_at":"2023-04-28T15:09:25.000Z","updated_at":"2025-06-08T16:21:34.000Z","dependencies_parsed_at":"2025-06-13T01:38:33.210Z","dependency_job_id":"9f5de26f-33d4-4911-959a-7057ffb169f4","html_url":"https://github.com/aguslr/docker-cups","commit_stats":null,"previous_names":["aguslr/docker-cups"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aguslr/docker-cups","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-cups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-cups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-cups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-cups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aguslr","download_url":"https://codeload.github.com/aguslr/docker-cups/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-cups/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29009714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T08:40:12.472Z","status":"ssl_error","status_checked_at":"2026-02-02T08:40:10.926Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cups","cupsd","docker","podman"],"created_at":"2024-11-24T02:14:41.610Z","updated_at":"2026-02-02T10:07:44.865Z","avatar_url":"https://github.com/aguslr.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[aguslr/docker-cups][1]\n=======================\n\n[![docker-pulls](https://img.shields.io/docker/pulls/aguslr/cups)](https://hub.docker.com/r/aguslr/cups) [![image-size](https://img.shields.io/docker/image-size/aguslr/cups/latest)](https://hub.docker.com/r/aguslr/cups)\n\n\nThis *Docker* image sets up *CUPS* inside a docker container.\n\n\u003e **[CUPS][2]** is a modular printing system for Unix-like computer operating\n\u003e systems which allows a computer to act as a print server.\n\n\nInstallation\n------------\n\nTo use *docker-cups*, follow these steps:\n\n1. Download your printer drivers in *DEB* format into a directory named\n   `./drivers`.\n\n2. Clone and start the container:\n\n       docker run --privileged -p 631:631 \\\n         -e CUPS_USER=admin \\\n         -e CUPS_PASS=admin \\\n         -v /dev/bus/usb:/dev/bus/usb \\\n         -v /run/dbus:/run/dbus \\\n         -v \"${PWD}\"/drivers:/opt/drivers \\\n         docker.io/aguslr/cups:latest\n\n3. Open \u003chttp://127.0.0.1:631\u003e with your web browser to access CUPS.\n\n\n### Variables\n\nThe image is configured using environment variables passed at runtime. All these\nvariables are prefixed by `CUPS_`.\n\n| Variable | Function              | Default       | Required |\n| :------- | :-------------------- | :------------ | -------- |\n| `USER`   | Username of CUPS user | `admin`       | N        |\n| `PASS`   | Password of CUPS user | autogenerated | N        |\n\nTo see the default autogenerated password, check the log for the container:\n\n    docker logs \u003ccontainer_name\u003e | grep '^Password'\n\n\nBuild locally\n-------------\n\nInstead of pulling the image from a remote repository, you can build it locally:\n\n1. Clone the repository:\n\n       git clone https://github.com/aguslr/docker-cups.git\n\n2. Change into the newly created directory and use `docker-compose` to build and\n   launch the container:\n\n       cd docker-cups \u0026\u0026 docker-compose up --build -d\n\n\n[1]: https://github.com/aguslr/docker-cups\n[2]: https://www.cups.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faguslr%2Fdocker-cups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faguslr%2Fdocker-cups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faguslr%2Fdocker-cups/lists"}