Public | Automated Build

Last pushed: 6 months ago
Short Description
Varnish Alpine Environment
Full Description

varnish-alpine-docker



A very small Varnish docker image based on Alpine Linux.

Environment variables

  • VARNISH_BACKEND_ADDRESS - host/ip of your backend. Defaults to 192.168.1.65.
  • VARNISH_BACKEND_PORT - TCP port of your backend. Defaults to 80.
  • VARNISH_MEMORY - how much memory Varnish can use for caching. Defaults to 100M.

Quick start

Run with defaults:

docker run -Pit --name=varnish-alpine thiagofigueiro/varnish-alpine-docker

Specify your backend configuration:

docker run -e VARNISH_BACKEND_ADDRESS=a.b.c.d \
           -e VARNISH_BACKEND_PORT=nn \
           -e VARNISH_MEMORY=1G \
           -Pit --name=varnish-alpine thiagofigueiro/varnish-alpine-docker

Build image locally:

git clone git@github.com:thiagofigueiro/varnish-alpine-docker.git
cd varnish-alpine-docker
docker build -t varnish-alpine-docker .

Software

Versions

The Docker image tag corresponds to the Alpine Linux version used. The Varnish
version used is whatever Alpine have packaged.

Image tag Alpine Version Varnish version
latest 3.5.0 4.1.3-r0
3.5 3.5.0 4.1.3-r0
3.4 3.4.6 4.1.2-r3
3.3 3.3.3 4.1.2-r1

Acknowledgements

Docker Pull Command
Owner
mjrone
Source Repository

Comments (0)