Go to file
Markus Pesch 68fe1931db
fix: web access over FQDN instead localhost
2019-05-27 21:17:52 +02:00
install-scripts fix: web access over FQDN instead localhost 2019-05-27 21:17:52 +02:00
.editorconfig Initial Commit 2019-05-26 21:16:19 +02:00
.gitattributes Initial Commit 2019-05-26 21:16:19 +02:00
.gitignore Initial Commit 2019-05-26 21:16:19 +02:00
.travis.yml Initial Commit 2019-05-26 21:16:19 +02:00
Dockerfile fix: web access over FQDN instead localhost 2019-05-27 21:17:52 +02:00
Makefile fix: web access over FQDN instead localhost 2019-05-27 21:17:52 +02:00
README.md fix: web access over FQDN instead localhost 2019-05-27 21:17:52 +02:00
entrypoint.sh fix: web access over FQDN instead localhost 2019-05-27 21:17:52 +02:00

README.md

cups Build Status

Common Unix Printing System (CUPS), is the most widely used printing system on Linux systems. CUPS allows you to use, manage and share many printers on the network, as it is designed as a client/server system.

This repository contains only build scripts for the CUPS daemon.

Usage

To start cups directly over cli:

docker run \
  --detach \
  --env CUPS_ADMIN_USER=print \
  --env CUPS_ADMIN_PASSWD=print \
  --name cupsd \
  --publish 631:631 \
  --volume /var/run/dbus:/var/run/dbus \
  volkerraschek/cupsd

--network=host \

or if you want to use a docker-compose.yml

version: '3'
services:
  cupsd:
    container_name: cupsd
    environment:
      - CUPS_ADMIN_USER=print
      - CUPS_ADMIN_PASSWD=print
    image: volkerraschek/cupsd
    ports:
      - 631:631
    restart: always
    volumes:
      - /var/run/dbus:/var/run/dbus

After starting the container, cups is available over http://localhost:631 or over your FQDN.