olbat / dockerfiles

A collection of Dockerfiles
https://hub.docker.com/u/olbat/
GNU General Public License v3.0
134 stars 73 forks source link

cupsd terminated #102

Closed ziipzaaapM16A4 closed 6 months ago

ziipzaaapM16A4 commented 6 months ago

cupsd does not start on any of my machines.
No log output webinterface says invalid request

Default config file

Main Docker Machine Docker version 25.0.2, build 29cf629 Debian 11.8

testing is done on Docker Desktop - Engine v25.0.3 Win10 WSL2

starting cupsd from container shell results in: Terminated

Error happend the first time when i updated docker and all my containers to the newest versions.

ziipzaaapM16A4 commented 6 months ago

I found the cupsd error_log file in /etc/cups Request from “xxx.xxx.xxx.xxx” using invalid Host: field “xxxx”

Solved by adding ServerAlias YourServerName to cupsd.conf

please excuse me for this confusion.