This project provides the easiest way to install Pi-hole in Docker on your Mac — just double-click!
- Single-click double-clickable installer (
run-pihole.command) - GUI password prompt for your Pi-hole admin login
- Automatic Docker check
- If Docker Desktop is not installed, the installer will show instructions to get it
- Persistent config/data directories (everything in your working folder)
- Compatible with Pi-hole v6+ (uses proper password method)
- Install Docker Desktop for Mac (if you haven't: Download here).
- Download or clone this repo.
- Double-click
run-pihole.commandin Finder. - Enter a password when prompted.
- Wait a moment for setup — you can visit http://localhost/admin to use Pi-hole!
- Script automatically creates
etc-piholeandetc-dnsmasq.dfolders for config/data persistence. - Updates/re-running the script will cleanly reset your admin password.
- If Docker Desktop is not running, start it and re-run the script.
- If you want to reset everything, delete the
etc-piholeandetc-dnsmasq.dfolders first.
- Built on pi-hole/docker-pi-hole
See main repo for license details.