A Squid3 caching proxy with SSL enabled in a Docker container, based on https://github.com/sameersbn/docker-squid
- sameersbn/ubuntu:14.04.20170123
- Squid (Version 3.3.8).
Start Squid3 setting its hostname and container name:
$ docker run --name squid3-with-basic-auth -d --restart=always \
--publish 8888:8888 \
--volume /opt/var/log/squid3:/var/log/squid3 \
--volume /opt/etc/squid3/squid.conf:/etc/squid3/squid.conf abetobing/docker-squid3-basic-auth:latest
Basic authentication user and password, default is proxy:secret.
- SQUID_AUTH_USER = proxy
- SQUID_AUTH_PASSWORD = secret