Skip to content

PortdInformacioCientifica/docker-frontier-squid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontier Squid Container Image Build Status

A Docker container image for Squid proxy server as packaged by OSG. The image is built according to the OSG installation instructions.

Usage

To run with the defaults:

docker run --rm --name osg-frontier-squid \
  -p 3128:3128 opensciencegrid/osg-frontier-squid

Configuring Squid

Type Description Example
/etc/squid/customize.sh Conf file (VOLUME) One possible way to configure squid is by passing the customize.sh file. -v ~/customize.sh:/etc/squid/customize.sh
/etc/squid/squid.conf Conf file (VOLUME) One possible way to configure squid is by passing directly squid.conf file. -v ~/squid.conf:/etc/squid/squid.conf
/var/cache/squid Cache dir (VOLUME) This directory contains the cache for squid. If the directory is persistent, the cache will presist after a redeployment. -v /tmp/squid:/var/cache/squid

Validate

To validate your installation:

> export http_proxy=http://localhost:3128
> wget -qdO/dev/null http://frontier.cern.ch 2>&1 | grep X-Cache
X-Cache: MISS from 797a56e426cf
> wget -qdO/dev/null http://frontier.cern.ch 2>&1 | grep X-Cache
X-Cache: HIT from 797a56e426cf

About

Docker images of OSG packaging of frontier-squid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 76.0%
  • Dockerfile 24.0%