pihole

pihole

Official

Docker app from Nodiaque's Repository

Overview

Pi-Hole - let's block those pesky ads! This is a template for the official PiHole Docker Easiest way to setup is using a custom network for eth, select it in network and enter custom IP on your network. You can also use bridge mode. You cannot use host mode since Unraid is already listening on the DNS ports. Don't forget to change the fixed ip address in the template for your ip and the ServerIP environment variable. Also, if you set you router to give out the PiHole address to clients, make sure that you fix the Unraid servers dns to point to a real DNS Server. Please check https://hub.docker.com/r/pihole/pihole for additional variables that you may need.

Install Pihole on Unraid in a few clicks.

Find Pihole in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Pihole Review the template variables and paths Click Install

Download Statistics

968,942,260
Total Downloads

Related apps

Explore more like this

Explore all

Details

Repository
pihole/pihole:latest
Last Updated2026-06-29
First Seen2018-12-16

Runtime arguments

Web UI
http://[IP]:[PORT:80]/admin
Network
Bridge
Shell
bash
Privileged
false
Extra Params
--restart=unless-stopped --cap-add=NET_ADMIN --hostname=pihole

Template configuration

TCP DNS PortPorttcp
Target
53
Default
53
Value
53
UDP DNS PortPortudp
Target
53
Default
53
Value
53
Required PortPortudp
Target
67
Default
67
Value
67
HTTP portPorttcp
Target
80
Default
80
Value
80
HTTPS PortPorttcp
Target
443
Default
443
Value
443
Host Pihole directoryPathrw
Target
/etc/pihole/
Default
/mnt/user/appdata/pihole/pihole/
Value
/mnt/user/appdata/pihole/pihole/
Host dnsmasq directoryPathrw
Target
/etc/dnsmasq.d/
Default
/mnt/user/appdata/pihole/dnsmasq.d/
Value
/mnt/user/appdata/pihole/dnsmasq.d/
TimezoneVariable
Target
TZ
Default
America/Montreal
Value
America/Montreal
WEBPASSWORDVariable
Default
admin
Value
4tVBg53qM0sxL5IVT4RI
INTERFACEVariable
Default
br0
Value
eth0
ServerIPVariable

Set to your Pihole containers LAN IP, used by web block modes and lighttpd bind address

Default
192.168.1.24
Value
192.168.1.24
ServerIPv6Variable
IPv6Variable

For unraid compatibility, strips out all the IPv6 configuration from DNS/Web services when false.

Default
False
Value
false
DNSMASQ_LISTENINGVariable

local listens on all local subnets, all permits listening on internet origin subnets in addition to local, single listens only on the interface specified.

Default
all
Value
all
WEBUI BOXED LAYOUTVariable

Use boxed layout (helpful when working on large screens)

Target
WEBUIBOXEDLAYOUT
Default
boxed
Value
boxed
PIHOLE_UIDVariable
Default
99
Value
99
PIHOLE_GIDVariable
Default
100
Value
100
UMASKVariable
Default
000
Value
000