diff --git a/README.md b/README.md index 00026af..bc47403 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ -# cups [![Build Status](https://travis-ci.com/volker-raschek/cupsd.svg?branch=master)](https://travis-ci.com/volker-raschek/cupsd) -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. +# cups + +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: ```bash @@ -14,11 +15,11 @@ docker run \ --env CUPS_ADMIN_USER=print \ --env CUPS_ADMIN_PASSWD=print \ --name cupsd \ + --network=host \ --publish 631:631 \ --volume /var/run/dbus:/var/run/dbus \ - volkerraschek/cupsd + docker.io/volkerraschek/cupsd ``` - --network=host \ or if you want to use a `docker-compose.yml` @@ -28,14 +29,14 @@ services: cupsd: container_name: cupsd environment: - - CUPS_ADMIN_USER=print - - CUPS_ADMIN_PASSWD=print - image: volkerraschek/cupsd + - CUPS_ADMIN_USER=print + - CUPS_ADMIN_PASSWD=print + image: docker.io/volkerraschek/cupsd ports: - - 631:631 + - 631:631 restart: always volumes: - - /var/run/dbus:/var/run/dbus + - /var/run/dbus:/var/run/dbus ``` -After starting the container, cups is available over http://localhost:631 or over your FQDN. +After starting the container, cups is available over `http://localhost:631` or over your FQDN.