Downloads
Do you want to accelerate your website or application and download Varnish? Look no further!
This page provides the official resources on where to download Varnish for various platforms. Ranging from Linux packages, to the source code, to Docker and cloud images.
We advise you to install Varnish Cache 6.0 LTS, which is the stable and supported version of Varnish. It is maintained by Varnish Software and receives frequent updates such as bug fixes, security fixes and feature backports.
The Varnish Cache community does two releases per year, which are considered fresh releases. These releases are primarily featured-based and do not guarantee backward compatibility.
Linux Packages
The easiest way to download and install Varnish is through the official Linux packages, which can be found on Packagecloud.
You can use apt-get
on Debian and Ubuntu and yum
on CentOS and Red Hat Enterprise Linux to install these packages. We recommend that you download and install the Varnish Cache 6.0 LTS packages.
We have some detailed instruction guides on how to download and install Varnish 6.0 LTS packages for the various Linux distributions:
- Download and install Varnish on Ubuntu
- Download and install Varnish on Debian
- Download and install Varnish on CentOS
- Download and install Varnish on Red Hat Enterprise Linux
Docker images
Official Docker images for Varnish are available on the Docker Hub
Downloading the latest stable version of Varnish can be done by running the following command:
docker pull varnish:stable
This will pull in the latest image of Varnish Cache 6.0 LTS.
If you want to download the latest fresh version of Varnish Cache, you can run the following command:
docker pull varnish:latest
Click here for detailed instructions on how to run Varnish on Docker.
Official Varnish Docker image on the Docker Hub →Cloud images
Varnish is also available in the cloud. We provide official images on the marketplaces of various cloud platforms.
On cloud platforms that support monetization, we offer official images for Varnish Enterprise 6, the commercial version of Varnish. The pay-as-you-go model allows you to pay for Varnish Enterprise on an hourly basis without an upfront purchase of the license.
On cloud platforms that don’t support monetization, we offer official images for Varnish Cache 6.0 LTS.
Amazon Web Services (AWS)
Varnish Software offers official images for Varnish Enterprise 6 on the AWS Marketplace. These images are either installed on an Ubuntu Linux distribution or on a Red Hat Enterprise Linux distribution.
Production-grade images for Ubuntu and Red Hat Enterprise Linux
Click on the links below for more information on these images:
Varnish Enterprise 6 (Ubuntu) on AWS → Varnish Enterprise 6 (Red Hat Enterprise Linux) on AWS →
These images are production-grade images that can be run on a variety of AWS EC2 instance types.
Developer edition images
If you’re just getting started with Varnish on AWS and you want to give Varnish Enterprise 6 a try, you can launch an instance using the Varnish Enterprise 6 Developer Edition image. The developer edition is available at a lower hourly cost, but can only be run on small instance types.
Click on the links below for more information on these images:
Varnish Enterprise 6 Developer Edition (Ubuntu) on AWS → Varnish Enterprise 6 Developer Edition (Red Hat Enterprise Linux) on AWS →
Microsoft Azure
Varnish Software offers official images for Varnish Enterprise 6 on the Azure Marketplace. These images are either installed on an Ubuntu distribution or on a Red Hat Enterprise Linux distribution.
Varnish Enterprise 6 on Azure →Google Cloud Platform (GCP)
Varnish Software offers official images for Varnish Enterprise 6 on the GCP Marketplace. These images are either installed on an Ubuntu distribution or on a Red Hat Enterprise Linux distribution.
Click on the links below for more information on these images:
Varnish Enterprise 6 (Ubuntu) on GCP → Varnish Enterprise 6 (Red Hat Enterprise Linux) on GCP →
Oracle Cloud Infrastructure (OCI)
Varnish Enterprise 6 is also available on the Oracle Cloud Marketplace. The image runs on Oracle Linux and currently requires you to bring your own license. This means there’s currently no pay-as-you-go support.
Varnish Enterprise 6 on Oracle Cloud Infrastructure →DigitalOcean
Varnish Software provides an official Varnish Cache 6.0 LTS image on the DigitalOcean Marketplace. It runs on an Ubuntu Linux distribution and is available through the link below:
Varnish Cache 6.0 LTS on DigitalOcean →Alibaba Cloud
Varnish Software provides an official Varnish Cache 6.0 LTS image on the Alibaba Cloud Marketplace. It runs on an Ubuntu Linux distribution and is available through the link below:
Varnish Cache 6.0 LTS on Alibaba Cloud →Download the source code
The Varnish Cache source code is available on GitHub. This is also the place where you can contribute to the project.
There is a separate 6.0 branch in this repository where the source code for Varnish Cache 6.0 LTS is maintained.
Download a specific release
Every time a release is cut, it is made available on the releases page. On this page you’ll find both stable and fresh releases.
Download the Varnish Cache source code →Cloning the GitHub repository
You can also clone the GitHub repository on your system through the following command:
git clone git@github.com:varnishcache/varnish-cache.git .
If you want access to the LTS branch, run the following command:
git checkout 6.0