1. Images & Charts
  2. pihole

Minimus is ending operations. The registry shuts down 22 October 2026. Read the announcement here

pihole

pihole

Utils
Updated yesterday

Pi-hole Overview

Secure your stack with a hardened Pi-hole image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.


Pi-hole blocks ads and trackers for every device on a network by filtering them at the DNS level, so a device requesting an ad or tracker domain never gets an answer for it — no per-device browser extensions or client software required. Point a router or individual devices at Pi-hole as their DNS server, and it can also serve as a DHCP server, plus it provides a web dashboard for reviewing query history and managing blocklists.


Try It Out

Prerequisites

  • Port 53 must be free on the host. Many Linux hosts run systemd-resolved bound to that port already, and it needs to be disabled or reconfigured before Pi-hole can bind to it.
  • dig available on your host (optional, for testing resolution).

Run Pi-hole

Pi-hole needs a directory to persist its configuration and blocklists, and FTLCONF_dns_listeningMode set to all so it accepts queries from outside the container on Docker's default bridge network:

mkdir -p ./etc-pihole

docker run -d --name pihole \
  --restart=unless-stopped \
  -p 53:53/tcp -p 53:53/udp \
  -p 80:80 \
  -e TZ=Etc/UTC \
  -e FTLCONF_webserver_api_password=Minimus! \
  -e FTLCONF_dns_listeningMode=all \
  -v $PWD/etc-pihole:/etc/pihole \
  reg.mini.dev/pihole

Finish Setup

Visit http://localhost/admin and log in with the password set above. Here you can review query history and manage blocklists.

Verify DNS Blocking

Query a domain from Pi-hole's default blocklist through the container's resolver:

dig @127.0.0.1 doubleclick.net

You should see:

;; ANSWER SECTION:
doubleclick.net.	2	IN	A	0.0.0.0

Clean Up

docker rm -f pihole
rm -rf ./etc-pihole

Technical Considerations

The Pi-hole image provided by Minimus is a slim, security-hardened alternative to the public image. The images are largely interchangeable, with a few differences as noted below.

Pi-hole built by Minimus:

  1. Runs as root to support required functions in alignment with the public image.
  2. Drill down on the version specification tab to see the default user, listening ports, entrypoint, volumes, environment variables, etc.

The Payoff

A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.


Terms & Info

Trademark

This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.

Disclaimer

Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.