From b2a116e4af19d98500cd3c8a8e210d6e8fe73f54 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Sep 2018 13:09:46 -0500 Subject: [PATCH] Example docker command --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4c4908b..e615331 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,17 @@ This Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint ### Ports: * `631`: the TCP port for CUPS must be exposed +### Example run command: +``` +docker run --name cups -p 631:631 --restart unless-stopped \ + -v /opt/cups/services:/services \ + -v /opt/cups/config:/config \ + -v /var/run/dbus:/var/run/dbus \ + -e CUPSADMIN="" \ + -e CUPSPASSWORD="" \ + chuckcharlie/cups-avahi:latest +``` + ## Using CUPS will be configurable at http://[diskstation]:631 using the CUPSADMIN/CUPSPASSWORD when you do something administrative.