Portal:Container/Image/cups
openSUSE CUPS Container Image
Description
This container image contains the latest cups server from openSUSE Tumbleweed.
Location
- registry.opensuse.org/opensuse/cups
Start the container
# podman run -d --rm -p 631:631 --name cups registry.opensuse.org/opensuse/cups:latest
Configuration
This CUPS container comes with a default cups configuration which allows remote access for adminitration. An own configuration can be provided as volume: -v /srv/cups:/etc/cups, where the example assumes you have your cups configuration stored in /srv/cups.
For further configuration, login to the CUPS web interface on port 631 (e.g. https://localhost:631) and configure CUPS to your need. IMPORTANT: you need to use https://, else cups will do a wrong redirect!
The default administration account is: admin
For security reasons there is no default password, it has to be set with the environment variable ADMIN_PASSWORD.
# podman run -d --rm -p 631:631 -v /srv/cups:/etc/cups -e ADMIN_PASSWORD=mySecretPassword --name cups registry.opensuse.org/opensuse/cups:latest
Systemd support
The package containers-systemd contains a service file and sysconfig file to configure and automatically start the cups container with systemd.
# systemctl start container-cups