Skip to content
PluginStats

varnish pulls statistics

Docker Hub · Web servers

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as APIs.

View on Docker Hub Fresh · Oct 21, 2026

varnish has 22,653,553 recorded pulls on Docker Hub, ranking #97 of 1,265 tracked listings.

Pulls
22,653,553
Official API · Oct 21, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#97
Among tracked Docker Hub listings

About varnish

Quick reference

Supported tags and respective Dockerfile links

Quick reference (cont.)

What is Varnish?

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as APIs. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP, unlike other proxy servers that often support FTP, SMTP and other network protocols.

wikipedia.org/wiki/Varnish_(software)

logo

How to use this image.

$ docker run -p 8080:80 --ulimit memlock=-1:-1 --tmpfs /var/lib/varnish/varnishd:exec varnish

You can then visit http://localhost:8080 with your browser and be greeted by the default landing page.

Note: while the --ulimit and --tmpfs options aren't necessary, they are greatly recommended. More details are available at the end of this page.

Basic usage

Simple cache

The default Varnish configuration will read the VARNISH_BACKEND_HOST environment variable which should be an HTTP or HTTPS URL, for example:

$ docker run \
	--ulimit memlock=-1:-1 \
	--tmpfs /var/lib/varnish/varnishd:exec \
	-p 8080:80 \
	-e VARNISH_BACKEND_HOST=https://example.com/ \
	varnish

By default, Varnish is extremely careful regarding what it can and cannot cache by looking at the client request and at the backend response.

Notably, Varnish will not cache if:

  • the request is not a GET or HEAD
  • the request contains an Authorization or Cookie header
  • the response status is not cacheable (i.e., not a 2xx or 4xx response)
  • the response contains a Set-Cookie header
  • the response contains headers indicating it is uncacheable

These rules can, of course, be overridden by providing your own VCL file, as explained in the next section.

Custom caching logic

If you already have a VCL file, you can directly mount it as /etc/varnish/default.vcl:

$ docker run \
	--ulimit memlock=-1:-1 \
	--tmpfs /var/lib/varnish/varnishd:exec \
	-p 8080:80 \
	-v /path/to/default.vcl:/etc/varnish/default.vcl:ro \
	varnish

Alternatively, a simple Dockerfile can be used to generate a new image that includes the necessary default.vcl:

FROM varnish

COPY default.vcl /etc/varnish/

Place this file in the same directory as your default.vcl, run docker build -t my-varnish ., then start your container:

$ docker \
	--ulimit memlock=-1:-1 \
	--tmpfs /var/lib/varnish/varnishd:exec \
	-p 8080:80 \
	my-varnish

Reloading the configuration

The images all ship with varnishreload which allows you to easily update the running configuration without restarting the container (and therefore losing your cache). At its most basic, you just need this:

# update the default.vcl in your container
docker cp new_default.vcl running_container:/etc/varnish/default.vcl
# run varnishreload
docker exec running_container varnishreload

Note that varnishreload also supports reloading other files (it doesn't have to be default.vcl), labels (-l), and garbage collection of old labels (-m), among others. To learn more, run

$ docker run --rm varnish varnishreload -h

File server…

Description from the Docker Hub listing.

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

varnish pulls on Docker Hub, last 90 days: 22,653,553 pulls as of Oct 21, 2026.varnishPulls on Docker Hub · Last 90 days22,653,553pulls22.6M22.6M22.6M22.6M22.6M22.7M22.7MJul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21pullsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 21, 2026 · 6 observations · Updated Oct…pluginstats.com
varnish pulls on Docker Hub, last 90 days: 22,653,553 pulls as of Oct 21, 2026.

7/30/90-day growth

varnish pulls growth on Docker Hub: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.varnishPulls growth on Docker Hub22,653,553pulls now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 21, 2026pluginstats.com
varnish pulls growth on Docker Hub: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

varnish Docker Hub ranking history: currently #97 (by pulls).varnishDocker Hub ranking · by pulls · Last 90 days#97current rank#95#96#97#98#99Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 16, 2026 – Oct 21, 2026 · 6 observations · Updated Oct 21, 2026pluginstats.com
varnish Docker Hub ranking history: currently #97 (by pulls).

Listing placement

All Docker Hub1,265 listings · 64 pages · page 5, #17 (overall #97)
All Docker Hub: every listing in pulls order

Listing placement

Web servers18 listings · 1 page · page 1, #5 (overall #5)
Web servers: every listing in pulls order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (6)
Recent pulls observations for varnish
Date (UTC)PullsChange vs. previous
22,653,553+13.9K
22,639,655+13.9K
22,625,785+10K
22,615,825+4.2K
22,611,631+8.6K
22,603,052—

Similar Docker Hub Web servers plugins

All 20 varnish alternatives

Data source

Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.

Listing: https://hub.docker.com/_/varnish. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.