https://github.com/b4tman/docker-squid
Squid in docker container based on Alpine Linux
https://github.com/b4tman/docker-squid
alpine armhf docker hacktoberfest squid
Last synced: 5 months ago
JSON representation
Squid in docker container based on Alpine Linux
- Host: GitHub
- URL: https://github.com/b4tman/docker-squid
- Owner: b4tman
- License: mit
- Created: 2017-02-08T06:37:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T07:58:42.000Z (6 months ago)
- Last Synced: 2025-04-25T21:51:07.740Z (5 months ago)
- Topics: alpine, armhf, docker, hacktoberfest, squid
- Language: Dockerfile
- Homepage:
- Size: 327 KB
- Stars: 78
- Watchers: 8
- Forks: 32
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

# docker-squid
Docker Squid container based on Alpine Linux.
Automated builds of the image are available on:
- DockerHub:
- [b4tman/squid](https://hub.docker.com/r/b4tman/squid)
- Github:
- [ghcr.io/b4tman/squid](https://github.com/users/b4tman/packages/container/package/squid)
- [ghcr.io/b4tman/squid-armhf](https://github.com/users/b4tman/packages/container/package/squid-armhf)
- [ghcr.io/b4tman/squid-ssl-bump](https://github.com/users/b4tman/packages/container/package/squid-ssl-bump)# Quick Start
Just launch container:
```bash
docker run -p 3128:3128 b4tman/squid
```or use [docker-compose](https://docs.docker.com/compose/):
```bash
wget https://raw.githubusercontent.com/b4tman/docker-squid/master/docker-compose.yml
docker-compose up
```# Configuration
## Environment variables:
- **SQUID_CONFIG_FILE**: Specify the configuration file for squid. Defaults to `/etc/squid/squid.conf`.
## Example:
```bash
docker run -p 3128:3128 \
--env='SQUID_CONFIG_FILE=/etc/squid/my-squid.conf' \
--volume=/srv/docker/squid/squid.conf:/etc/squid/my-squid.conf:ro \
b4tman/squid
```This will start a squid container with your config file `/srv/docker/squid/squid.conf`.