[squid-users] Squid inside docker

Alex Rousskov rousskov at measurement-factory.com
Tue Sep 7 13:08:20 UTC 2021


On 9/7/21 8:57 AM, Graham Wharton wrote:
> It would be great if something could be done to help squid running
> inside docker, Particularly

>  1. Logging to stdout/stderr

stderr logging is already supported: "squid -d1 ...".

FWIW, there is also syslog which, when enabled, gets level-0/1 messages:
"squid -s ...".


>  2. bash-5.1# squid -k reconfigure
> 
> 2021/09/07 13:55:50| FATAL: Bad PID file (/var/run/squid.pid) contains
> unreasonably small PID value: 1

Already fixed in master/v6 (commit 3db00ca). The one-character fix is
trivial to port to any modern Squid version.


HTH,

Alex.


More information about the squid-users mailing list