This is the source repository used to build the official Varnish Docker image.
Don't hesitate to open github issues if something is unclear or impractical. You can also join us on discord.
This repository tracks tree Varnish versions:
fresh
: the latest release.old
: the release beforefresh
.stable
: an Long-Term Support (LTS) release that will receive bug and security fixes even though it's not the latest one.
New major/minor versions are released on the 15th of March and of September, this is when the fresh
and stable
labels are reevaluated.
In addition, if present, the next/
directory is a copy of fresh/
with breaking changes that must wait for the the next release to be published. This image isn't available on the Docker hub.
If you want to connect to Varnish via HTTPS, you'll need to terminate the TLS connection elsewhere. TLS termination can be done on some loadbalancers or proxy servers, but the Varnish ecosystem also provides a purpose-built TLS terminator called Hitch.
Hitch supports the PROXY protocol and is transparent to Varnish. The PROXY protocol has the ability to keep track of the original client IP address.
Hitch, or any other TLS terminator that supports the PROXY protocol will connect to Varnish on port
8443
.
New release playbook:
- Update the
fresh/
,old/
,stable/
as needed (in case of a regular new release,fresh/
becomesold/, and a new
fresh/` is created) - Commit and push
- Make sure CI passes
- Generate a new
library
file using./populate.sh library
- Open a PR for the library file docker-library/official-images repository
- Optionally, open a PR to update the documentation in the docker-library/docs repository