Install Squid into a Linux container

Several tag are available:
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
docker create --name=squid \
-v <path to data>:/data \
-e UID=<UID default:12345> \
-e GID=<GID default:12345> \
-e AUTOUPGRADE=<0|1 default:0> \
-e TZ=<timezone default:Europe/Brussels> \
-p 3128:3128 \
digrouz/squid
When you start the squid image, you can adjust the configuration of the squid instance by passing one or more environment variables on the docker run command line.
UIDThis variable is not mandatory and specifies the user id that will be set to run the application. It has default value 12345.
GIDThis variable is not mandatory and specifies the group id that will be set to run the application. It has default value 12345.
AUTOUPGRADEThis variable is not mandatory and specifies if the container has to launch software update at startup or not. Valid values are 0 and 1. It has default value 0.
TZThis variable is not mandatory and specifies the timezone to be configured within the container. It has default value Europe/Brussels.
-e AUTOUPGRADE=1 at container creation.If you encounter an issue please open a ticket at github
Content type
Image
Digest
sha256:f71b280d7…
Size
14 MB
Last updated
2 months ago
docker pull digrouz/squid