Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 573 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 573 Bytes

rpi-cups

Dockerized CUPS on Raspberry Pi

Usage

To allow access to a USB printer, execute the following run statement:

docker run -d -p 631:631 --privileged -v /var/run/dbus:/var/run/dbus -v /dev/bus/usb:/dev/bus/usb --name cups a0js/rpi-cups

Access at http://RPI.IP.ADDRESS:631. When asked for user and password, type print for both.

Gotchas

Bonjour doesn't seem to play nice when the instance is encapsulated in a container. Include -v /var/run/dbus:/var/run/dbus in your run statement to make your shared printer visible to Apple computers.