Squid container based on ubuntu/squid with squid-openssl installed.
1.8K
Squid container based on Alpine Linux with Squid and OpenSSL support installed.
The container uses /entrypoint.sh to start Squid and forward log files to stdout/stderr-friendly streams.
By default, Squid runs with /etc/squid/squid.conf.
You can bind-mount your own /etc/squid/squid.conf, or include extra snippets from /etc/squid/config.d when referenced by squid.conf.
If you bind-mount the whole /etc/squid directory, make sure required support files are present in that mounted directory.
If needed, set this line in squid.conf:
mime_table /usr/share/squid/mime.conf
docker build -t squid-openssl:local .
docker run --rm -it \
-p 3128:3128 \
-p 3129:3129 \
-v /path/to/squid.conf:/etc/squid/squid.conf:ro \
squid-openssl:local
If you want to pass custom Squid flags, append them after the image name. For example:
docker run --rm -it -p 3128:3128 squid-openssl:local -N -f /etc/squid/squid.conf
docker run --rm squid-openssl:local squid -v | grep -Ei "OpenSSL|GnuTLS"
A monthly Docker Hub build-and-publish workflow is included at .gitea/workflows/docker-build-and-publish.yml.
Content type
Image
Digest
sha256:51296bf1d…
Size
14.2 MB
Last updated
15 minutes ago
docker pull gabriellando/squid-openssl