Skip to content

MilorES/dockerfile-cupsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

WIP

It tries to learn the use of the Dockerfile and be able to change the user's password: "print"

CUPS print server image

Original image is built from https://github.com/olbat/dockerfiles/tree/master/cupsd
This image is built from https://github.com/MilorES/dockerfile-cupsd

Overview

Docker image including CUPS print server and printing drivers (installed from the Debian packages).

Run the Cups server

Using the default cupsd.conf configuration file:

docker run -d -p 631:631 -v /var/run/dbus:/var/run/dbus --name cupsd milores/cupsd:v1

Using a custom cupsd.conf configuration file:

docker run -d -p 631:631 -v /var/run/dbus:/var/run/dbus -v $PWD/cupsd.conf:/etc/cups/cupsd.conf --name cupsd milores/cupsd:v1`

Add printers to the Cups server

  1. Connect to the Cups server at http://127.0.0.1:631
  2. Add printers: Administration > Printers > Add Printer

Note: The admin user/password for the Cups server is print/print

Configure Cups client on your machine

  1. Install the cups-client package
  2. Edit the /etc/cups/client.conf, set ServerName to 127.0.0.1:631
  3. Test the connectivity with the Cups server using lpstat -r
  4. Test that printers are detected using lpstat -v
  5. Applications on your machine should now detect the printers!

Included package

  • cups, cups-client, cups-filters
  • foomatic-db
  • printer-driver-all, printer-driver-cups-pdf
  • openprinting-ppds
  • hpijs-ppds, hp-ppd
  • sudo, whois
  • smbclient

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published