Pi-hole in a docker container (by pi-hole)


Basic docker-pi-hole repo stats
13 days ago

Docker-pi-hole Alternatives

Similar projects and alternatives to docker-pi-hole

  • GitHub repo DietPi

    Lightweight justice for your single-board computer!

  • GitHub repo AdminLTE

    Pi-hole Dashboard for stats and more (by pi-hole)

  • GitHub repo Home Assistant

    :house_with_garden: Open source home automation that puts local control and privacy first

  • GitHub repo Pi-hole

    A black hole for Internet advertisements

  • GitHub repo Portainer

    Making Docker and Kubernetes management easy.

  • GitHub repo bitwarden_rs

    Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs [Moved to:]

  • GitHub repo watchtower

    A process for automating Docker container base image updates.

  • GitHub repo pipework

    Software-Defined Networking tools for LXC (LinuX Containers)

  • GitHub repo docker

    ⛴ Docker image of Nextcloud (by nextcloud)

  • GitHub repo libnetwork

    networking for containers

  • GitHub repo nextdns

    NextDNS CLI client (DoH Proxy)

  • GitHub repo compose-spec

    The Compose specification

  • GitHub repo roadmap

    Welcome to the Public Roadmap for All Things Docker! We welcome your ideas. (by docker)

  • GitHub repo caddy-docker-proxy

    Caddy as a reverse proxy for Docker

  • GitHub repo netplan

    Backend-agnostic network configuration in YAML

  • GitHub repo node-red-contrib-home-assistant-websocket

    Node-RED integration with Home Assistant Core

  • GitHub repo docker-pihole-unbound

    Run Pi-Hole + Unbound on Docker

  • GitHub repo archivy-docker

  • GitHub repo raspberrypi

  • GitHub repo rasp-services

    scripts, config and more glue used to manage personal HW (raspberries) I own

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better docker-pi-hole alternative or higher similarity.


Posts where docker-pi-hole has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-03.
  • Plex constantly writing to cache. | 2021-05-03
    The one example I can think of that uses the healthcheck option is PiHole. If you take a look at the dockerfile you can see it has HEALTHCHECK set at the bottom:
  • Is a Piehole worth it?
    I agree with the other comments here; running PieHole is absolutely worth it. I will add though, if you are running another server or your NAS supports running containers or applications; you can save yourself a few Watts and run the PieHole somewhere besides a dedicated Raspberry Pi. It's pretty easy to get it setup as a Docker Container or VM.
  • Is it possible to run Pihole with Volumio? | 2021-04-30
  • Debian for Pi-hole | 2021-04-27
  • pi-hole & unbound question | 2021-04-25
    DNS2 defaults to Also, looks like my setup is deprecated lol.
  • Just scored an R710 with two Xeon X5667s and 288 GB of RAM... now what? | 2021-04-25
    Pi-hole switching to google DNS
    Or you can run it in docker (which also works on distros like Arch that are not officially supported).
    version: "3" # services: pihole: container_name: "pihole-macvlan" image: pihole/pihole:latest ports: - "53:53/udp" - "53:53/tcp" - "67:67/udp" - "80:80/tcp" environment: TZ: 'America/Chicago' WEBPASSWORD: 'pass' TEMPERATUREUNIT: 'c' ServerIP: # Volumes store your data between container upgrades volumes: - './etc-pihole/:/etc/pihole/' - './etc-dnsmasq.d/:/etc/dnsmasq.d/' dns: - - cap_add: - NET_ADMIN restart: unless-stopped networks: macvlan_network: ipv4_address: networks: macvlan_network: driver: macvlan driver_opts: parent: eth0 ipam: driver: default config: - subnet: ip_range: gateway:
  • How do I add the macvlan network on docker compose yml file? | 2021-04-16
  • API request from docker container to Pihole Macvlan container | 2021-04-14
    So I did some exploring and learning about docker... pretty cool stuff... For some reason, I don't have docker-compose so I just downloaded the script and ran it to get the default pihole docker up and running. Be sure to disable any services running on ports 53, 67, and 80 on the host. Download docker_run script: wget make it executable chmod +x Run it (I ran it with no changes and it worked fine). $ ./ WARNING: Localhost DNS setting (--dns= may fail in containers. b236970533f33a6a48ddbd961517b4e8d1878e518ea99c33e6bec04bfd42fb03 Starting up pihole container .......... OK Assigning random password: cbsxnjY9 for your pi-hole: https:///admin/ Now pihole was accessible on port 80 of the host machine. I had to use the IP address as the name "pi.hole" is resolving to the internal address of the docker container ( and not the host IP address ( This may be a bug in the default docker configuration for pihole. I'm not sure where it gets this information. Also the URL shown by the script doesn't show an IP...
  • Pi-hole FTL v5.8, Web v5.5 and Core v5.3 released | 2021-04-14
    I just opened a ticket on this, I'm seeing the same thing. Reverting to my previous image lets it startup.
  • pi.hole is set to in /etc/pihole/local.list | 2021-04-13
    Bug report | 2021-04-13
    I just followed the official directions, slightly modified to enable pi-hole's dnsmasq to coexist with a libvirt dnsmasq running on the same machine.
  • Is it possible to get Ip addresses from DHCP for each container? | 2021-04-07
    # More info at and https://docs.pi-h$
  • Looking for a guide to running pi-hole in a docker container | 2021-04-01 has a link to their docker project with plenty of information. Here's a shorter path: