Runs the cloudflared service in a container, and starts a DNS over HTTPS proxy to 1.1.1.1
More information on cloudflared is available at the Cloudflare developer site.
The docker image is also available to be pulled from the GitHub container registry.
docker run --rm \
-p 5053:5053/tcp \
-p 5053:5053/udp \
richardbristow/docker-cloudflared-proxy-dns
version: '3'
services:
docker-cloudflared-proxy-dns:
container_name: docker-cloudflared-proxy-dns
image: richardbristow/docker-cloudflared-proxy-dns
restart: always
ports:
- 5053:5053/tcp
- 5053:5053/udp