Caddy for amd64, arm64, armv7 and armv6 with extra modules (L4, security, Cloudflare DNS and more)
50K+
Multi-platform Docker images of Caddy with a set of extra modules built in. The image is a drop-in replacement for the official caddy image: same Alpine base, paths, volumes, ports and entrypoint, with a custom-built caddy binary.
The images are published to two registries:
vnxme/caddyghcr.io/vnxme/caddylinux/amd64)linux/arm64/v8)linux/arm/v7)linux/arm/v6)docker run -d --name caddy \
-p 80:80 -p 443:443 -p 443:443/udp \
-v $PWD/Caddyfile:/etc/caddy/Caddyfile \
-v caddy_data:/data \
-v caddy_config:/config \
vnxme/caddy:2
With Docker Compose:
services:
caddy:
image: vnxme/caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:
Keep /data on a persistent volume: it holds your TLS certificates and keys. To list the modules compiled into the image, run docker run --rm vnxme/caddy caddy list-modules --skip-standard.
| Tag | Meaning |
|---|---|
latest, 2, 2.11, 2.11.3 | The latest release, and the latest release in each major or minor line. These tags get updated base images (see below). |
2.11.3-1 | A re-release of the same Caddy version with updated modules |
2.11.3-YYYYMMDD | A fixed snapshot of a release, built on that date. It never changes, so pin it if you need a reproducible image. |
Every week, CI checks whether the official caddy builder or Alpine base image for the latest release has been updated upstream, for example with Go or Alpine security fixes. If so, it rebuilds that release with the same modules, pushes it again under its version tags (2.11.3, 2.11, 2, latest) and adds a new dated tag. If nothing changed, nothing is pushed. Older releases are not rebuilt.
| main | Built from the main branch |
| sha-<commit> | Built from a specific commit |
Besides the standard modules, Caddy is built with:
Modules are pinned to specific commits. Renovate opens a grouped update PR every week.
The build files in this repository are licensed under the Apache License 2.0. Caddy and each module keep their own licenses.
Content type
Image
Digest
sha256:4e5e41fe3…
Size
51.1 MB
Last updated
2 days ago
docker pull vnxme/caddy