Default Configuration

The default configuration included in the varnish/orca Docker image is:

varnish:
  http:
  - port: 80
virtual_registry:
  registries:
  - name: dockerhub
    default: true
    remotes:
    - url: https://docker.io
    - url: https://mirror.gcr.io
  - name: quay
    remotes:
    - url: https://quay.io
  - name: ghcr
    remotes:
    - url: https://ghcr.io
  - name: k8s
    remotes:
    - url: https://registry.k8s.io
  - name: npmjs
    remotes:
    - url: https://registry.npmjs.org
  - name: go
    remotes:
    - url: https://proxy.golang.org
  - name: github
    remotes:
    - url: https://github.com
  - name: gitlab
    remotes:
    - url: https://gitlab.com

This default configuration enables Varnish as a Virtual Registry, and allows incoming connections over plain HTTP on port 80.

The virtual_registry configuration entry contains a list of registries for which it can receive package requests:

  • Container images & Helm charts from Docker Hub
  • Container images from Quay.io
  • GitHub Container Registry from ghcr.io
  • Kubernetes community’s container-image registry from registry.k8s.io
  • NPM packages from npmjs.org
  • Go modules from proxy.golang.org
  • Git clones & fetches from GitHub
  • Git clones & fetches from GitLab

See the installation guide to learn how to deploy your configuration onto the supported platforms.


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203