Fork from azamserver/pihole-doh, updated to alpine Linux and pihole 6
10K+
Based on this simple Dockerfile
FROM docker.io/pihole/pihole
LABEL maintainer="Jeroen Beerstra <[email protected]>"
ARG CLOUDFLARE_UID=1001
ARG CLOUDFLARE_GID=1001
ENV CLOUDFLARE_USER=cloudflare
RUN curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o /usr/bin/cloudflared \
&& chmod 0755 /usr/bin/cloudflared \
&& addgroup -S cloudflare -g ${CLOUDFLARE_GID} && adduser -S cloudflare -G cloudflare -u ${CLOUDFLARE_UID}
COPY ./config.yml /etc/cloudflared/config.yml
COPY --chmod=0755 ./start.sh /usr/bin/start.sh
ENTRYPOINT ["start.sh"]
Basicly all I did was modify pihole docker's start.sh to include cloudflared in the start and stop routines. You should point pihole to localhost:5053 to use dns over https for all non-cached dns requests.
See: https://github.com/beertje44/pihole-doh for the source code.
Content type
Image
Digest
sha256:7c64f8cd4…
Size
59.3 MB
Last updated
13 days ago
docker pull jb044/pihole-doh:1.0.11