Back to catalog
Pi-hole logo

Self-Host with Docker · Yantr

Pi-hole

Network-wide DNS sinkhole that blocks ads, trackers, and malicious domains across all devices.

About

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 query statistics, built-in DHCP server, customizable blocklists, whitelist/blacklist management, IPv4/IPv6 support, and the ability to work as your network's DHCP provider. Unlike browser-based ad blockers, Pi-hole protects every device including Smart TVs, mobile apps, and IoT devices.

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, dependencies, and where to find the original compose template.

If you searched for Pi-hole Docker, Pi-hole Docker Compose, or self-host Pi-hole, this page is the direct landing page for that app in Yantr's catalog.

Use Cases

  • 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

Port Protocol Label
80 HTTP Web UI
53 UDP DNS

Docker Image

pihole/pihole:latest

Service Name

pihole

Notes

  • 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 App Pages

Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside Pi-hole.

Page generated 2026-03-06T16:43:27.553Z