/docker-squid-1

Alpine-based docker image of Squid for use as forward proxy with basic authentication

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

docker-squid

An easy to use forward proxy.

What is Squid?

Squid is an easy to use, customizable forward proxy.

It supports:

  • HTTP
  • SSL/TLS
  • FTP
  • WSS

What makes this docker image different?

Our image runs the latest version of Squid on Alpine - a super lightweight Linux distro. Additionally, this image supports basic auth (username/password) out of the box!

Usage

You can get a basic container going by running the command below. Replace the username and password with your desired information.

docker run -d -p 3128:3128 --env AUTH_USER="myusername" --env AUTH_PASS="mypassword" assadi/squid

Authentication

This container support username/password authentication. You can generate additional logins with the htpasswd command. See: setup.sh for an example.

By default, passwords are hashed with bcrypt. However, you can use anything that htpasswd supports.