mirror of
https://github.com/nikdoof/cups-avahi-airprint.git
synced 2025-12-11 22:52:21 +00:00
Example docker command
This commit is contained in:
11
README.md
11
README.md
@@ -23,6 +23,17 @@ This Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint
|
|||||||
### Ports:
|
### Ports:
|
||||||
* `631`: the TCP port for CUPS must be exposed
|
* `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="<username>" \
|
||||||
|
-e CUPSPASSWORD="<password>" \
|
||||||
|
chuckcharlie/cups-avahi:latest
|
||||||
|
```
|
||||||
|
|
||||||
## Using
|
## Using
|
||||||
CUPS will be configurable at http://[diskstation]:631 using the CUPSADMIN/CUPSPASSWORD when you do something administrative.
|
CUPS will be configurable at http://[diskstation]:631 using the CUPSADMIN/CUPSPASSWORD when you do something administrative.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user