Self-host with Docker ยท Yantr
Pi-hole
Network-wide DNS sinkhole that blocks ads, trackers, and malicious domains across all devices.
2
Ports
3
Notes
4
Use Cases
About
What Pi-hole does
Pi-hole is a network-wide DNS sinkhole that protects all devices on your network from unwanted content without installing any client software. It blocks ads, trackers, and malicious domains at the DNS level before they can reach your devices. Features include a modern web dashboard showing...
Install Flow
How to self-host Pi-hole
Pi-hole can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what Pi-hole does, which Docker image Yantr uses, default ports, deployment notes, and where to find the original compose template.
After deployment, Yantr lets you publish additional ports from the stack page using Docker-style syntax. Use 8080:8080 for a fixed host port or just 8080 to let Docker assign a random port.
Use Cases
What people run it for
- Block ads and tracking across your entire home network by configuring your router to use Pi-hole as its DNS server.
- Monitor what domains your devices are connecting to using the real-time query log and statistics dashboard.
- Replace your router's DHCP server with Pi-hole's built-in DHCP to automatically direct all devices through ad blocking.
- Speed up your network and reduce bandwidth usage by blocking tracking and advertising domains before they load.
Technical Details
Ports, image, and service metadata
Ports
| Port | Protocol | Label |
|---|---|---|
| 80 | HTTP | Web UI |
| 53 | UDP | DNS |
Docker Image
pihole/pihole:latest
Service Name
pihole
Notes
Things to know before you deploy
- Requires port 53 (DNS) to be available on the host
- Configure your router's DHCP to point to Pi-hole as DNS server for network-wide protection
- Default web password is set to 'yantr' - change it in production
Related Apps
More tools you might pair with Pi-hole
Page generated 2026-06-23T15:50:08.758Z