1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-10-27 00:31:16 +01:00

restructuring: reevaluating the docker headers

This commit is contained in:
TiynGER
2021-03-10 21:30:32 +01:00
parent 5876bc0e26
commit 33fdfdfc90
34 changed files with 240 additions and 290 deletions

View File

@@ -1,12 +1,10 @@
# Cups
## Setup Server
### Docker
## Setup Server with Docker
The official container and documentation was made by [olbat](https://hub.docker.com/r/olbat/cupsd).
#### Volumes
### Volumes
Set the following volumes with the -v tag.
@@ -15,7 +13,7 @@ Set the following volumes with the -v tag.
| `cups` | `/etc/cups` | configuration for printers, etc |
| `/var/run/dbus` | `/var/run/dbus` | connection to host dbus |
#### Ports
### Ports
Set the following ports with the -p tag.
@@ -23,11 +21,11 @@ Set the following ports with the -p tag.
| -------------- | ------------------------ | -------- | ----------------- |
| `631` | `631` | TCP | cups server webui |
#### Additional
### Additional
The default username is `print`, the default password is `print`.
#### Rebuild
### Rebuild
```shell
#!/bin/sh
@@ -43,7 +41,9 @@ docker run --name cups \
-d olbat/cupsd:latest
```
## Client Setup
## Client
For Linux computers follow the guide below:
- Install the cups-client package (in Arch Linux it is included in `cups`)
- Edit `/etc/cups/client.conf` and insert `ServerName <ip to print-server>:631`