(Forked from upstream and modified to use Github Action for releases)
A docker container which runs the cloudflared proxy-dns at port 5054 based on alpine with some parameters to enable DNS over HTTPS proxy for pi-hole based on tutorials from Oliver Hough and Scott Helme
docker run --name cloudflared --rm --net host mxie/cloudflared
docker run --name cloudflared --rm --net host -e DNS1=x.x.x.x -e DNS2=x.x.x.x mxie/cloudflared
version: "3"
services:
cloudflared:
container_name: cloudflared
image: mxie/cloudflared:latest
restart: unless-stopped
# networks config is optional
networks:
pihole_net:
ipv4_address: 10.0.0.2
I wrote some tests in a goss.yaml file which can be executed by dgoss
$ dgoss run --name cloudflared --rm -ti mxie/cloudflared:latest
INFO: Starting docker container
INFO: Container ID: e5bd35d3
INFO: Sleeping for 0.2
INFO: Running Tests
Process: cloudflared: running: matches expectation: [true]
Package: ca-certificates: installed: matches expectation: [true]
Command: cloudflared --version | head -1: exit-status: matches expectation: [0]
Command: cloudflared --version | head -1: stdout: matches expectation: [cloudflared version DEV (built unknown)]
Total Duration: 0.028s
Count: 4, Failed: 0, Skipped: 0
INFO: Deleting container
Distributed under the MIT license
Content type
Image
Digest
Size
26.1 MB
Last updated
over 6 years ago
docker pull mxie/cloudflared