Legacy Docker image for Varnish Cache with the bundled default.vcl and entrypoint used by older Dockette stacks.
docker run --rm -it \
-p 80:80 \
--link app:app \
dockette/varnish:latestThe bundled VCL expects the backend application to be reachable as app:80.
The image keeps the original legacy defaults:
VARNISH_SECRET=/etc/varnish/secretVARNISH_CONFIG=/etc/varnish/default.vclVARNISH_CACHE=256mVARNISH_PORT=80
Mount a custom VCL file when the default backend or caching rules do not fit your stack:
docker run --rm -it \
-p 80:80 \
-v "$(pwd)/default.vcl:/etc/varnish/default.vcl:ro" \
dockette/varnish:latestThis repository intentionally preserves the historical image behavior. The entrypoint starts varnishd with the bundled VCL and then follows varnishlog; it does not provide a modern healthcheck, init wrapper, or generated runtime configuration.
The CI smoke test focuses on build viability, Varnish version output, entrypoint presence, bundled config presence, and VCL compilation.
make build
make test
make runmake run starts a temporary backend as app:80 for the bundled VCL.
See how to contribute to this package. Consider to support f3l1x. Thank you for using this package.