builds an image containing the squid proxy.
  • Shell 55.1%
  • Dockerfile 44.9%
Find a file
Michael Griffith 303c864458
All checks were successful
Build and publish docker image / build-and-push (push) Successful in 1m27s
second commit
2025-06-30 18:02:30 -04:00
.forgejo/workflows first commit 2025-06-30 17:58:35 -04:00
.github/workflows fixing docker/build-push-action@v5# v5.0.0, unable to find version v5# v5.0.0 2024-03-31 17:44:45 -03:00
config first commit 2025-06-30 17:58:35 -04:00
.gitignore first commit 2025-06-30 17:58:35 -04:00
CONTRIBUTORS.md first commit 2025-06-30 17:58:35 -04:00
Dockerfile first commit 2025-06-30 17:58:35 -04:00
entrypoint.sh first commit 2025-06-30 17:58:35 -04:00
LICENSE first commit 2025-06-30 17:58:35 -04:00
README.md second commit 2025-06-30 18:02:30 -04:00

Squid Docker

Dockerized Squid proxy server for easy deployment.

Forked From:

Table of Contents

Introduction

This project provides a Dockerized version of Squid, a widely-used proxy server. It allows you to quickly set up and deploy a Squid proxy server within a Docker container.

Features

  • Easy deployment using Docker
  • Customizable configuration
  • Efficient caching for improved performance

Usage

1. Pull the Squid Docker Image

docker pull docker pull ghcr.io/prinako/squid-docker:main

2. Run Squid Container

docker run -d --name squid -p 3128:3128 prinako/squid-docker:main

Adjust the port mappings and other options according to your requirements.

3. Configure Client Devices

Configure your client devices to use the Squid proxy. Update proxy settings with the Squid server's IP address and port (e.g., 3128).

Monitoring Logs

Monitor Squid logs by attaching to the running container or inspecting the logs:

docker logs -f squid

Additional Configuration (Optional)

For additional configuration options and customization, refer to the Squid Documentation.

Configuration

You can customize Squid's configuration by mounting a volume with your own configuration file. For example:

docker run -d --name squid -p 3128:3128 -v /path/to/your/squid.conf:/etc/squid/squid.conf prinako/squid-docker:main

Replace /path/to/your/squid.conf with the path to your custom Squid configuration file.

Considerations

  • squid relies on ntp, this image uses systemd-timesyncd. maybe tell it to use something more local than the ubuntu time pools?

Contributing

If you want to contribute to this project, please follow the contribution guidelines.

License

This project is licensed under the MIT License.