docker-pi-hole VS caddy-docker-proxy

Compare docker-pi-hole vs caddy-docker-proxy and see what are their differences.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
docker-pi-hole caddy-docker-proxy
205 57
9,159 3,390
3.2% 4.4%
8.8 6.0
7 days ago 28 days ago
Shell Go
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-pi-hole

Posts with mentions or reviews of docker-pi-hole. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-08.
  • Stuff a Pi-hole in your router because your browser is about to betray you
    2 projects | news.ycombinator.com | 8 Mar 2025
    My setup is on a nanopi running FriendlyWRT/OpenWRT with Docker installed. PiHole is easy to run from docker - have a look at https://github.com/pi-hole/docker-pi-hole/
  • Running Nextcloud on TrueNAS behind Nginx Reverse Proxy
    4 projects | dev.to | 14 Dec 2024
    Pi-hole (Docker Tag 2024.07.0 Pi-hole v5.18.3 FTL v5.25.2 Web Interface v5.21) configuration
  • Problem - Pi-Hole not getting many DNS requests
    2 projects | /r/pihole | 10 Jul 2023
    Yesterday I deployed the official pi hole docker container on my raspberry pi 3 and set a custom DNS address on my phone addressing to the pi.
  • Help with container seeing gateway as the return address
    1 project | /r/docker | 17 May 2023
    #pihole   pihole:     container_name: pihole     image: pihole/pihole:latest     ports:       - target: 53         published: 53         protocol: tcp         mode: host       - target: 53         published: 53         protocol: udp         mode: host       - "67:67/udp"       - "8070:80/tcp"       - "8073:443/tcp"     environment:       TZ: 'America/Indianapolis'       WEBPASSWORD: #'TEMP_PASSWORD' #'set a secure password here or it will be random'       WEBPASSWORD_FILE: '/etc/pihole/adminpw.txt'     # Volumes store your data between container upgrades     volumes:       - '~/pihole/etc-pihole:/etc/pihole'       - '~/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'     #   https://github.com/pi-hole/docker-pi-hole#note-on-capabilities     cap_add:       - NET_ADMIN # Recommended but not required (DHCP needs NET_ADMIN)     #network_mode: host     restart: unless-stopped     #UPTIME KUMA   uptime_kuma:     image: louislam/uptime-kuma:1     container_name: uptime-kuma     volumes:      - uptime-kuma:/app/data     ports:      - 8060:3001     restart: always
  • No internet access for containers co-hosted with pihole
    6 projects | /r/docker | 13 May 2023
    version: "3" # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ networks: dns_net: driver: bridge ipam: config: - subnet: 10.2.0.0/24 services: pihole: depends_on: [unbound] container_name: pihole image: pihole/pihole:latest hostname: pihole networks: dns_net: ipv4_address: 10.2.0.100 ports: - "5335:53/tcp" - "5335:53/udp" - "7000:80/tcp" environment: TZ: ${TZ} WEBPASSWORD: ${PWD} FTLCONF_LOCAL_IPV4: ${HOST_IP} # Set to server's LAN IP, used by web block modes. PIHOLE_DNS_: 10.2.0.200 # Upstream DNS server(s) for Pi-hole to forward queries to, separated by a semicolon DNSMASQ_LISTENING: all # "Listen on all interfaces, permit all origins" # Volumes store your data between container upgrades volumes: - /var/lib/docker/volumes/pihole/etc-pihole:/etc/pihole - /var/lib/docker/volumes/pihole/etc-dnsmasq.d:/etc/dnsmasq.d healthcheck: disable: true restart: unless-stopped unbound: # https://github.com/MatthewVance/unbound-docker container_name: unbound image: mvance/unbound:latest hostname: unbound networks: dns_net: ipv4_address: 10.2.0.200 ports: - "${HOST_IP}:53:53/udp" - "${HOST_IP}:53:53/tcp" healthcheck: disable: true restart: unless-stopped
  • Synology/MACVLAN/BRIDGE help
    2 projects | /r/synology | 9 May 2023
    services: pihole: container_name: pihole image: pihole/pihole:latest hostname: pihole # Container hostname (optional) domainname: mynetwork.local # Container domain (optional) mac_address: f7:55:63:b0:68:83 # Random MAC address (optional) networks: virtualnet: # Name of macvlan ipv4_address: 192.168.100.249 # Desired IP for pihole dns: - 127.0.0.1 - 1.1.1.1 ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "80:80/tcp" - "443:443/tcp" volumes: - ./pihole-configs/:/etc/pihole/ - ./dnsmasq.d-configs/:/etc/dnsmasq.d/ # DNSMASQ_USER # https://github.com/pi-hole/docker-pi-hole/issues/963 # https://github.com/pi-hole/docker-pi-hole/blob/master/README.md#upgrade-notes environment: FTLCONF_LOCAL_IPV4: 10.59.0.6 # Desired IP for pihole VIRTUAL_HOST: pihole.mynetwork.local DNSMASQ_USER: root PIHOLE_DNS_: 1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001 restart: unless-stopped # Set container to always restart
  • Need a totally updated guide for setting up pi-hole on Synology DSM 7.1.1+
    2 projects | /r/pihole | 6 May 2023
  • How does one create an OS image for Jetson Nano B01 4GB for Ubuntu 23.04?
    1 project | /r/JetsonNano | 27 Apr 2023
    You could have a look at docker and try to run a more recent Ubuntu image on the Nano https://github.com/pi-hole/docker-pi-hole
  • Error Question
    1 project | /r/pihole | 23 Apr 2023
    My advice would be either use the docker-pi-hole documentation/quick start, or contact the content creator.
  • Phiole in docker
    1 project | /r/pihole | 18 Apr 2023

caddy-docker-proxy

Posts with mentions or reviews of caddy-docker-proxy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-05.
  • Take a look at traefik, even if you don't use containers
    13 projects | news.ycombinator.com | 5 May 2024
    Sticky sessions are supported: https://caddyserver.com/docs/caddyfile/directives/reverse_pr..., and yes it's pluggable so you could write your own LB policy. Very easy, just copy the code from Caddy's source to write your own plugin. Let us know if you need help.

    Also yes, Caddy does service discovery if you use https://github.com/lucaslorentz/caddy-docker-proxy, configuration via Docker labels. Or you can use dynamic upstreams (built-in) https://caddyserver.com/docs/caddyfile/directives/reverse_pr... to use A/AAAA or SRV DNS records to load your list of upstreams.

  • Eliminate IPv4 tax on AWS, is it that easy?
    3 projects | dev.to | 3 May 2024
    Caddy via Caddy Docker Proxy (network).
  • Caddy-Docker-Proxy: Caddy as a Reverse Proxy for Docker
    1 project | news.ycombinator.com | 14 Apr 2024
  • Self-Hosted Is Awesome
    6 projects | news.ycombinator.com | 13 Apr 2024
    https://github.com/lucaslorentz/caddy-docker-proxy

    It handles the routing to multiple dockerized projects on one server, by scanning docker compose files for labels and automatically setting up the required caddy configuration.

  • Keycloak SSO with Docker Compose and Nginx
    21 projects | news.ycombinator.com | 11 Feb 2024
    My go to is always this instead:

    https://github.com/lucaslorentz/caddy-docker-proxy

    Single label to a docker container and with correct DNS you’ll have an automatically managed certificate right away.

  • Working on Multiple Web Projects with Docker Compose and Traefik
    8 projects | news.ycombinator.com | 3 Oct 2023
    I have had a great experience with using this: https://github.com/lucaslorentz/caddy-docker-proxy

    It combines caddy with docker-compose labels, making it super easy to spin up new projects that can immediately be exposed.

  • Caddy is the first and only web server to use HTTPS automatically and by default
    4 projects | news.ycombinator.com | 12 Sep 2023
    If you want a slightly heavier but more robust solution, caddy-docker-proxy[0] is a plugin that listens to the Docker socket and automatically updates the Caddy configuration based on Docker labels you add to containers.

    I.e. it makes Caddy act a bit more like Traefik. Most of the time, you'll just add the label `caddy.reverse_proxy={{upstreams http 8080}}` to your containers and the plugin will regenerate Caddy's configuration whenever the container is modified.

    [0] https://github.com/lucaslorentz/caddy-docker-proxy

  • Nginx Development Guide
    6 projects | news.ycombinator.com | 16 Aug 2023
    I disagree, Caddy works great in Docker. See https://caddyserver.com/docs/running#docker-compose, and CDP is a project that autoconfigures Caddy from labels https://github.com/lucaslorentz/caddy-docker-proxy. Regarding plugins, it's super simple to write a Dockerfile to add plugins, we ship a builder image variant that can be used to compile in any plugins you want.
  • How I run my servers
    8 projects | news.ycombinator.com | 16 Jul 2023
    ````

    This way, Caddy will buffer the request and give 30 seconds for your new service to get online when you're deploying a new version.

    Ideally, during deployment of a new version the new version should go live and healthy before caddy starts using it (and kills the old container). I've looked at https://github.com/Wowu/docker-rollout and https://github.com/lucaslorentz/caddy-docker-proxy but haven't had time to prioritize it yet.

  • Which reverse proxy are you using?
    16 projects | /r/selfhosted | 7 Apr 2023
    Docker labels support is available via a plugin https://github.com/lucaslorentz/caddy-docker-proxy

What are some alternatives?

When comparing docker-pi-hole and caddy-docker-proxy you can also consider the following projects:

Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface

docker-pihole-unbound - Run Pi-Hole + Unbound on Docker

Portainer - Making Docker and Kubernetes management easy.

crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.

matrix-docker-ansible-deploy - 🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured

Did you know that Shell is
the 11th most popular programming language
based on number of references?