Squid proxy in current trend
Tags: squid, proxy, server, ssl
Published: 2019-07-12 01:17:00

---
title: Squid proxy in current trend
series: squid-cache
published: true
description: Squid Proxy in current trend
cover_image: https://thepracticaldev.s3.amazonaws.com/i/gb0c98rrinzghg13f39f.png
tags: squid,proxy,server,ssl
---

This starts my second part of fact-collecting blogs of the [squid caching server](http://www.squid-cache.org/) series. Again, most of them will be collected from the web and reposted here, and credited back to the original url/author. 

In the first part of the series, when talking about the installation and configuration, the details are omitted. The reason for it is that, practically speaking, using `squid` like that is so last decade! 

The current trend is to wrap everything in `docker`. Quoting from [here](https://www.blaize.net/2017/02/docker-proxy-server-with-content-filter-built-on-squid-and-squidguard/):

> Docker has sparked a revolution in Platform as a Service. Numerous applications have been ported to Docker containers to run applications loads, and even more so Docker is replacing even some components that have traditionally been reserved for infrastructure. Now it is possible to run things like Web Application Firewalls and even outgoing proxy servers in containers.


Yes, docker has sparked a revolution in system services, especially those services with outside connection because of the safety concerns. Squid perfectly fits into that category. Yet, `squid` is not the only thing that fit for such trend. Here are more, just to illustrate that such trend is everywhere:


- [Dockerize an apt-cacher-ng service](https://docs.docker.com/engine/examples/apt-cacher-ng/)
- [Deploying a DNS Server using Docker](http://www.damagehead.com/blog/2015/04/28/deploying-a-dns-server-using-docker/)
- [Docker Proxies and DNS containers](https://wp.sjkp.dk/docker-proxies-and-dns-containers/)
- [Setting Up Web Proxy Using Squid And Docker-Compose](https://hydrasky.com/linux/administration/setting-up-web-proxy-using-squid-and-docker-compose/)
- [Docker Proxy Server with Content Filter Built on Squid and Squidguard](https://www.blaize.net/2017/02/docker-proxy-server-with-content-filter-built-on-squid-and-squidguard/)
- [HTTPS Filtering on Windows 10 with Squid and Docker](https://docs.diladele.com/docker/docker_windows_10/index.html)
- [Docker Reverse Proxy](https://blog.confirm.ch/docker-reverse-proxy/)
- [Using Docker Behind a Proxy](https://blog.codeship.com/using-docker-behind-a-proxy/)
- And finally, Docker on Kubernetes cluster -- [Build and install Docker Squid Open Proxy image on Kubernetes cluster](http://www.pc-freak.net/blog/build-install-docker-squid-open-proxy-image-kubernetes-cluster/)

Alright, maybe I didn't list much variety, because I was mainly searching for _squid docker_ after all. The point is, there is already many ready-made squid docker images, that you can just grab and use. So why bother with installation and configuration details, :-) Here is a list of a few squid docker images that I found, of no particular order:

- Dockerfile to create a Docker container image for Squid proxy server, https://github.com/sameersbn/docker-squid
- Dockerized Squid forward proxy, https://github.com/wernight/docker-squid
- squid docker image, https://github.com/jacobalberty/squid-docker
- Squid proxy configurable container, https://hub.docker.com/r/datadog/squid
- docker-squid-alpine, https://gitlab.com/andrewheberle/docker-squid-alpine

Just to name a few. Alright, there are already so many to choose from, _which one to choose then?_ So now is the time that the configuration details matters, :-). OK, _what would I choose personally?_ --

Stay tuned...