Hi friends.

I’ve been trying to find docker-compose.yaml for pihole+unbound so I can use pihole as both a recursive dns server and as local dns alongside Nginx Proxy Manager. But since v6 of pihole all the old files I could find don’t work properly or at all.

Does anyone here use pihole+unbound in docker?

  • irmadlad
    link
    fedilink
    English
    34 days ago

    How well does that run in docker? I’ve always liked docker, but it seems to me that certain apps should touch metal than be containerized. Maybe I’m too old school.

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      2 days ago

      Focker Docker container in host mode is sufficient for most cases requiring bare deployment.

      • irmadlad
        link
        fedilink
        English
        13 days ago

        I’ve heard of Docker, Incus, k8s, VM, but not Focker. Is this some new containerization software?

    • Christopher
      link
      fedilink
      English
      4
      edit-2
      3 days ago

      It runs quite well; Docker’s not a full fledged virtual machine so much as a virtualization layer. I also love the portability of running this in Docker. I rsync a backup of this and the Appdata folder every night. When or if this server fails, I can be up and running again in minutes on another machine.

      • @[email protected]
        link
        fedilink
        English
        23 days ago

        I do exactly the same thing for all three of these services! My implementation is on podman rather than docker, but basically the same deal.

    • @[email protected]
      link
      fedilink
      English
      44 days ago

      I have all these services in docker as well (although not with the docker compose file here) and they run perfectly fine with a very low resource footprint.

      • irmadlad
        link
        fedilink
        English
        14 days ago

        0K that’s cool. I love docker. I would like to upgrade to k8s but I haven’t yet plumbed the depths of docker. I was just with the overhead of docker, since Pi-Hole/Unbound is a dedicated system, I thought maybe it’d get better thru put baked in. I wouldn’t listen to me tho, I’m medicated.

        • @[email protected]
          link
          fedilink
          English
          13 days ago

          As an anecdote: I have one system (x86) with pi-hole and unbound in a docker, and a secondary raspberry pi with pi-hole running on bare metal. The docker system (although much more performant in general) has a lower latency as the raspberry bare metal install.