Run a CUPS print server on a remote machine to share USB printers over WiFi. Built primarily to use with Raspberry Pis as a headless server, but there is no reason this wouldn't work on amd64
machines. Tested and confirmed working on a Raspberry Pi 3B+ (arm/v7
) and Raspberry Pi 4 (arm64/v8
).
Container packages available from Docker Hub and Github Container Registry (ghcr.io)
- Docker Hub Image:
anujdatar/cups
- GHCR Image:
ghcr.io/anujdatar/cups
Quick start with default parameters
docker run -d -p 631:631 --device /dev/bus/usb --name cups anujdatar/cups
Customizing your container
docker run -d --name cups \
--restart unless-stopped \
-p 631:631 \
--device /dev/bus/usb \
-e CUPSADMIN=batman \
-e CUPSPASSWORD=batcave_password \
-e TZ="America/Gotham" \
-v <persistent-config-folder>:/etc/cups \
anujdatar/cups