Public | Automated Build

Last pushed: 4 months ago
Short Description
Cups image built from official sources with minor customization to make it more suitable for docker.
Full Description

Cups docker image

Description

This is a WIP docker image. While it is still under active development with the internals changing on a regular basis it is useable now. I use it as my print server at work right now.

This image is a bit different from the other cups images on the docker hub in that it does not just use distro packages. I am building cups and cups-filters from source. This means as new versions of cups come out I can update to them quicker. I can also tag out individual releases with this so you can specify your cups version.

If you have a suggestion for how to improve usability of this image, feel free to post on the github issue tracker.

Drivers

CUPS is pretty useless without drivers. Unfortunately it does not come with many drivers in the default install.
Your best bet for getting drivers working is to create a dockerfile with this image as the FROM source and install your drivers that way.
To make getting drivers installed easier I will include shell scripts in /usr/local/docker/share/drivers to handle installation of common drivers.
If you manage to get a new driver working please post a description of how you did it on the github issue tracker, or submit a PR.

hplip

hplip can be installed by running /usr/local/docker/share/drivers/hplip.sh in the image, you must then follow up with running hp-plugin
and accepting the license agreement for a fully working install.

Volumes:

/config

This volume contains a couple subfolders.

/config/etc

This subfolder contains your cups configuration files.

/config/log

This subfolder contains your log files

/config/init.d (Optional)

This optional subfolder contains a set of scripts to be run before the cups daemon launches.

Expose:

631/tcp

631/udp

Docker Pull Command
Owner
jacobalberty
Source Repository