Example usage:
docker run -it -p 8888:80 -v default.vcl:/etc/varnish/default.vcl ykocaman/varnish
OR
docker run -it -p 8888:80 -e VARNISH_BACKEND=localhost ykocaman/varnish
VARNISH_BACKEND - Host of backend. If it is empty then use config file.VARNISH_PORT - Port of backend. Defaults to 80.VARNISH_STORAGE - storage config which Varnish can use for caching. Defaults to 200M memory. If you want file storage, use this:VARNISH_STORAGE="file,/tmp/varnish_cache.bin,1G"
Content type
Image
Digest
Size
37.8 MB
Last updated
over 7 years ago
docker pull ykocaman/varnish