Git Product home page Git Product logo

pihole-with-doh's People

Contributors

testdasi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

iamgrewal

pihole-with-doh's Issues

/usr/local/bin/cloudflared: No such file or directory on x86_64

I'm running this container on a Raspi 4 without any problem, but if I try to run it on an x86_64 system, the container never
manages to start.

Here is the log:

Starting pihole-FTL (no-daemon) as root
Starting stubby
[13:24:22.483301] STUBBY: Read config from file /config/stubby.yml
Starting cloudflared
./run: line 7: /usr/local/bin/cloudflared: No such file or directory
Stopping stubby
Stopping pihole-FTL
Stopping cloudflared
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
cloudflared: no process found

Here is the docker-compose.yml I am using to start the container:

version: "3"

services:
    pihole-dot-doh:
        container_name: pihole-dot-doh
        image: testdasi/pihole-dot-doh:latest
        ports:
            - "53:53/tcp"
            - "53:53/udp"
            - "67:67/udp"
            - "80:80/tcp"
            - "10443:443/tcp"
        environment:
            - TZ=Europe/Berlin
            - WEBPASSWORD=<REMOVED>
            - DNS1=127.1.1.1#5153
            - DNS2=127.2.2.2#5253
            - ServerIP=<REMOVED>
            - ServerIPv6=
            - IPv6=False
            - DNSMASQ_LISTENING=all
        volumes:
            - '/docker/volumes/pihole-dot-doh/pihole/:/etc/pihole/'
            - '/docker/volumes/pihole-dot-doh/dnsmasq.d/:/etc/dnsmasq.d/'
            - '/docker/volumes/pihole-dot-doh/log/pihole.log:/var/log/pihole.log'
            - '/docker/volumes/pihole-dot-doh/config/:/config'
        cap_add:
            - NET_ADMIN
        restart: unless-stopped

Does this still work for anybody else?

I have this setup on a cloud instance*, but it doesn't work with cloudflared. I'm starting it like this:

docker run --rm -d \
    --name pihole \
    -p 53:53/tcp -p 53:53/udp \
    -p 80:80 \
    -e 'TZ'='Europe/London' \
    -v "${PIHOLE_BASE}/etc-pihole:/etc/pihole" \
    -v "${PIHOLE_BASE}/etc-dnsmasq.d:/etc/dnsmasq.d" \
    --dns=127.0.0.1 --dns=1.1.1.1 \
    --hostname pi.hole \
    -e VIRTUAL_HOST="$(hostname)" \
    -e PROXY_LOCATION="$(hostname)" \
    -e FTLCONF_LOCAL_IPV4="$(hostname --ip-address)" \
    -e 'DNS1'='127.1.1.1#5153' \
    -e 'DNS2'='127.1.1.1#5153' \
    'testdasi/pihole-with-doh:latest'

...but it only works once I remove the custom DNS servers (127.1.1.1#5153) and select one of the others without DoH.

* while it's on a public cloud instance, the firewall is only open to my home lan (static IP).

RPi 2 support?

This is great Docker Container, you solved my problem of setting up DOH everytime
Only issue is, I run a RPi 2, can you add support to it, I'll help you if needed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.