this post was submitted on 18 Jun 2025
63 points (98.5% liked)

Selfhosted

60789 readers
497 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] irmadlad@lemmy.world 3 points 1 year ago (3 children)

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.

[–] B0rax@feddit.org 4 points 1 year ago (1 children)

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@lemmy.world 1 points 1 year ago (1 children)

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.

[–] B0rax@feddit.org 1 points 1 year 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.

[–] chris@lemmy.grey.fail 4 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] Zanathos@lemmy.world 2 points 1 year 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.

[–] Appoxo@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] irmadlad@lemmy.world 1 points 1 year ago (1 children)

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

[–] Appoxo@lemmy.dbzer0.com 2 points 1 year ago (1 children)
[–] irmadlad@lemmy.world 2 points 1 year ago

Hey you never know. Could be the next big thing: Focker by Mo'Fugger Industries.