this post was submitted on 18 Jun 2025
67 points (98.6% liked)

Selfhosted

48649 readers
1389 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 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 week 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.

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

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

[–] irmadlad@lemmy.world 1 points 6 days 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 6 days ago (1 children)
[–] irmadlad@lemmy.world 2 points 6 days ago

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

[–] B0rax@feddit.org 4 points 1 week 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 week 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 week 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 week ago* (last edited 1 week 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 week 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.