How to make a docker image of squid?

  docker, question

Requirements:
1. Detailed process of making mirror image
2. Transparent proxy http, https
3. Allow machines in the LAN to access the Internet through agents.https://Web address of (client configuration process)

Dockerhub already has finished products.