Sign inSign up

jwmoss/docker-cloudflared

By jwmoss

•Updated almost 6 years ago

fork to support updated binaries

Image
0

1.1K

jwmoss/docker-cloudflared repository overview

Latest Version Build Status Docker Stars Docker Pulls
Become a sponsor Donate Paypal

⁠About

Cloudflared⁠ proxy-dns Docker image based on Alpine Linux.
If you are interested, check out⁠ my other Docker images!

šŸ’” Want to be notified of new releases? Check out šŸ”” Diun (Docker Image Update Notifier)⁠ project!


⁠Docker

⁠Image
RegistryImage
Docker Hub⁠crazymax/cloudflared
GitHub Container Registry⁠ghcr.io/crazy-max/cloudflared

Following platforms for this image are available:

$ docker run --rm mplatform/mquery crazymax/cloudflared:latest
Image: crazymax/cloudflared:latest
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - linux/arm/v6
   - linux/arm/v7
   - linux/arm64
   - linux/386
   - linux/ppc64le
⁠Environment variables
  • TZ: The timezone assigned to the container (default UTC)
  • TUNNEL_DNS_UPSTREAM: Upstream endpoint URL, you can specify multiple endpoints for redundancy. (default https://1.1.1.1/dns-query,https://1.0.0.1/dns-query)
  • TUNNEL_DNS_PORT: DNS listening port (default 5053)
  • TUNNEL_DNS_ADDRESS: DNS listening IP (default 0.0.0.0 "all interfaces")
  • TUNNEL_DNS_METRICS: Prometheus metrics host and port. (default 0.0.0.0:49312)
⁠Ports
  • 5053/udp: Listen port for the DNS over HTTPS proxy server
  • 49312/tcp: Listen port for metrics reporting

⁠Usage

⁠Docker Compose

Docker compose is the recommended way to run this image. You can use the following docker compose template⁠, then run the container:

docker-compose up -d
docker-compose logs -f
⁠Command line

You can also use the following minimal command :

docker run -d --name cloudflared \
  -p 5053:5053/udp \
  -p 49312:49312 \
  crazymax/cloudflared:latest

⁠Notes

⁠Use with Pi-hole

Pi-hole⁠ currently provides documentation⁠ to manually set up DNS-Over-HTTPS with Cloudflared.

With Docker and this image, it's quite easy to use it with Pi-hole⁠. Take a look at this simple docker compose template⁠ and you're ready to go.

⁠Upgrade

To upgrade, pull the newer image and launch the container :

docker-compose pull
docker-compose up -d

⁠How can I help?

All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon: You can also support this project by becoming a sponsor on GitHub⁠ :clap: or by making a Paypal donation⁠ to ensure this journey continues indefinitely! :rocket:

Thanks again for your support, it is much appreciated! :pray:

⁠License

MIT. See LICENSE for more details.

Tag summary

Content type

Image

Digest

Size

19.3 MB

Last updated

almost 6 years ago

docker pull jwmoss/docker-cloudflared