- Docker
- Docker Compose
If you don't have these, run
brew install docker docker-compose
Copy the docker compose example code from here: https://github.com/pi-hole/docker-pi-hole
In the folder where you stored the docker-compose.yml, run the following:
docker-compose up -d
networksetup -setdnsservers Wi-Fi 127.0.0.1
Check your dashboard @ 127.0.0.1/admin
You'll find the password to login in the console logging of your container. If you want / need to change it, simply run:
docker exec -it <pihole_container_name> pihole -a -p <new password>