A simple (and fragile) Dockerfile for launching an authenticated squid proxy.
The user must specify authentication credentials via the following environment variables:
An example invocation would be:
docker run -e SQUID_USERNAME=foo -e SQUID_PASSWORD=bar -p 3128:3128 robhaswell/squid-authenticated
Ideas for Improvement
- Output logs to stdout.
- The range of authentication options could be expanded through more configuration options.
- Supply a full configuration file that has been well considered instead of hacking up Ubuntu's defaults.
Works like a charm!
Thanks for this image. I also had to do a developer test with a proxy with authentication and this came in very useful.
Thanks a lot for publishing this image. I am very happy I have more than a week working in a proxy authenticated without success.
I need exactly what you provided. A proxy with just one user. Why? Because I need it for testing to ensure my application works with authenticated proxies and this is perfect for me.