Minimal curl Docker image with ECH, HTTPS-RR, and HTTP/3 (QUIC) support.
230
GitHub: https://github.com/thekamran/curl-http3-ech
A minimal Docker image that ships a curl binary built with:
| Component | Version |
|---|---|
| OpenSSL | 4.0.0 |
| nghttp3 | 1.11.0 |
| ngtcp2 | 1.14.0 |
| curl | 8.19.0 |
GitHub Container Registry:
docker pull ghcr.io/thekamran/curl-http3-ech:latest
Docker Hub:
docker pull 1kamran/curl-http3-ech:latest
Print version and enabled features:
docker run --rm 1kamran/curl-http3-ech:latest -V
Test ECH — uses DoH to fetch the HTTPS RR (which carries the ECHConfig) then
connects with ECH enabled. defo.ie is a reliable ECH test target:
docker run --rm 1kamran/curl-http3-ech:latest \
-sv --ech hard \
--doh-url https://1.1.1.1/dns-query \
https://defo.ie/ech-check.php
A successful response contains SSL_ECH_STATUS: success.
Test HTTP/3 (QUIC):
docker run --rm 1kamran/curl-http3-ech:latest \
--http3-only -sv \
https://cloudflare.com/
docker build -t curl-http3-ech .
Override component versions at build time:
docker build \
--build-arg OPENSSL_TAG=openssl-4.0.0 \
--build-arg NGHTTP3_TAG=v1.11.0 \
--build-arg NGTCP2_TAG=v1.14.0 \
--build-arg CURL_TAG=curl-8_19_0 \
-t curl-http3-ech .
debian:bookworm-slim (runtime), debian:bookworm (build)curl-V (print version and enabled features)/opt/curl; PATH is updated automatically.The Dockerfile is released under the MIT-0 License. The bundled software (curl, OpenSSL, ngtcp2, nghttp3) retains its own respective licenses.
Content type
Image
Digest
sha256:cdc4c8e97…
Size
41.5 MB
Last updated
8 days ago
docker pull 1kamran/curl-http3-ech