Skip to content

martinwalsh/docker-caching-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-caching-proxy

Configures a transparent squid proxy to be used automatically by local containers, reducing bandwidth and build time. It is intended for development use only.

The included docker-compose definition launches a container in privileged mode so that the required netfilter rules may be set on the docker host. This project is therefore completely unsuitable for production environments.

Prerequisites

  • GNU Make
  • docker-compose (version 3.6+)
  • [optional] python and virutalenv (for make test)

Launch the caching proxy

make up  # wrapper for `docker-compose build` and `docker-compuse up`

Troubleshoot

See the SquidFaq for more troubleshooting information. Squid logs are written to the local logs/ directory.

Clean up

To delete logs, cache and other build artifacts:

make clean

Run the demo

This project includes a sample benchmark that exercises the cache. To run the test:

make test

Prior art

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors