Sign inSign up

zazukoians/varnish

By zazukoians

Updated over 7 years ago

Varnish Cache Docker image that includes Varnish Cache modules (vmods)

Image
0

100K+

zazukoians/varnish repository overview

Varnish Cache Docker image Build Status

This Docker image ships Varnish Cache, an HTTP accelerator designed for content-heavy dynamic web sites as well as heavily consumed APIs by Varnish Software. It is based on Baseimage-docker, which is a Docker optimized version of Ubuntu 16.04.

If you have any problems with this image please report issues on Github. Pull requests are also welcome.

The image includes varnish-modules.

Varnish environment variables

You can change its behavior by changing the following environment variables:

ENV VCL_CONFIG      /etc/varnish/default.vcl
ENV CACHE_SIZE      256m
ENV VARNISHD_PARAMS ""

Default parameters were taken from the The Varnish Tutorial. The default configuration file is shipped by Varnish Cache.

Basing your Varnish image on this project

We do not recommend using this image as-is.

Here is how you should use it instead:

FROM zazukoians/varnish:<choose a version>

COPY your-varnish-config-file.vcl /etc/varnish/default.vcl

Tag summary

Content type

Image

Digest

sha256:138751434

Size

262.6 MB

Last updated

over 7 years ago

docker pull zazukoians/varnish