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.

Ports

2

Deps

0

Use Cases

4

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, 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.

After deployment, Yantr also lets you publish additional ports later from the stack page using Docker-style syntax. Use mappings like 8080:8080 for a fixed host port or just 8080 to let Docker assign a random host port for container port 8080.

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

These are the standard container ports Yantr knows about for Pi-hole. You can keep the default mapping, remap them, or publish extra ports later after deployment with Docker syntax such as 3000:3000 or 3000.

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

More App Pages

Keep browsing the Yantr catalog

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

Page generated 2026-05-03T17:57:37.943Z