DOCKER n PiHole!

PiHole

Project #1: Setup an ad-block server using Docker

I wanted to learn to use Docker, so I downloaded it on a few computers and played with some different Docker concepts and images. Next I decided to build something more practical, so I grabbed a raspberry pi zero 2w, installed a lightweight OS (DietPi) and setup docker on it.

Here is a brief breakdown:
- Download Diet pi for Raspberrypi : dietpi.com
- Follow directions for setting up the OS
- Enable SSH (change to open ssh so you can use SCP)
- Install docker and docker compose
- Create a docker-compose.yaml file for pi-hole: https://github.com/pi-hole/docker-pi-hole
- Run docker compose up -d in dir with the yaml file
- Login and start blocking!
- Change any DNS servers to point to this IP!

So far, this setup works great and since I have it running in Docker, it'd be easy to replicate to any network. Oh, I also am using open DNS to filter out nasty stuff on my home network.