{"architecture":"amd64","config":{"ExposedPorts":{"123/udp":{},"443/tcp":{},"53/tcp":{},"53/udp":{},"67/udp":{},"80/tcp":{}},"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","DNSMASQ_USER=pihole","FTL_CMD=no-daemon"],"Entrypoint":["start.sh"],"WorkingDir":"/","Labels":{"org.opencontainers.image.created":"2026-10-31T00:02:14.222Z","org.opencontainers.image.description":"The official Pi-hole Docker image from pi-hole.net","org.opencontainers.image.licenses":"NOASSERTION","org.opencontainers.image.revision":"ffd0a489a633d0f2512818c46fd651ac50789175","org.opencontainers.image.source":"https://github.com/pi-hole/docker-pi-hole","org.opencontainers.image.title":"docker-pi-hole","org.opencontainers.image.url":"https://github.com/pi-hole/docker-pi-hole","org.opencontainers.image.version":"2026.10.1"},"Healthcheck":{"Test":["CMD-SHELL","dig -p $(pihole-FTL --config dns.port) +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1"]}},"created":"2026-10-31T00:02:39.574126843Z","history":[{"created":"2026-10-21T22:37:22.870489069Z","created_by":"ADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-21T22:37:22.870489069Z","created_by":"CMD [\"/bin/sh\"]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG TARGETPLATFORM=linux/amd64","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG WEB_BRANCH=master","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG CORE_BRANCH=master","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG FTL_BRANCH=master","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG PIHOLE_DOCKER_TAG=2026.10.1","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG PADD_BRANCH=master","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG CORE_FORK=pi-hole","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG WEB_FORK=pi-hole","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG PADD_FORK=pi-hole","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG PIHOLE_UID=1000","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ARG PIHOLE_GID=1000","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ENV DNSMASQ_USER=pihole","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"ENV FTL_CMD=no-daemon","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:37.45640926Z","created_by":"RUN |11 TARGETPLATFORM=linux/amd64 WEB_BRANCH=master CORE_BRANCH=master FTL_BRANCH=master PIHOLE_DOCKER_TAG=2026.10.1 PADD_BRANCH=master CORE_FORK=pi-hole WEB_FORK=pi-hole PADD_FORK=pi-hole PIHOLE_UID=1000 PIHOLE_GID=1000 /bin/sh -c apk add --no-cache bash bash-completion bind-tools binutils coreutils curl git grep iproute2 jq libcap logrotate ncurses procps-ng psmisc shadow sudo tzdata unzip wget # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-30T14:59:12.760657521Z","created_by":"ADD https://ftl.pi-hole.net/macvendor.db /macvendor.db # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:37.877788772Z","created_by":"ADD --chmod=0755 https://raw.githubusercontent.com/pi-hole/PADD/master/padd.sh /usr/local/bin/padd # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.851865675Z","created_by":"RUN |11 TARGETPLATFORM=linux/amd64 WEB_BRANCH=master CORE_BRANCH=master FTL_BRANCH=master PIHOLE_DOCKER_TAG=2026.10.1 PADD_BRANCH=master CORE_FORK=pi-hole WEB_FORK=pi-hole PADD_FORK=pi-hole PIHOLE_UID=1000 PIHOLE_GID=1000 /bin/sh -c clone_repo() { FORK=\"$1\"; REPO=\"$2\"; BRANCH=\"$3\"; DEST=\"$4\"; CLONE_BRANCH=\"$BRANCH\"; if [ \"$BRANCH\" = \"master\" ]; then CLONE_BRANCH=$(curl -fsSL \"https://api.github.com/repos/${FORK}/${REPO}/releases/latest\" | jq -r .tag_name); if [ -z \"$CLONE_BRANCH\" ] || [ \"$CLONE_BRANCH\" = \"null\" ]; then echo \"Failed to resolve latest release tag for ${FORK}/${REPO}\"; exit 1; fi; fi; git clone --branch \"$CLONE_BRANCH\" --single-branch --depth 1 \"https://github.com/${FORK}/${REPO}.git\" \"$DEST\"; cd \"$DEST\"; if [ \"$BRANCH\" = \"master\" ]; then git checkout -b master; fi; }; clone_repo \"${WEB_FORK}\" \"web\" \"${WEB_BRANCH}\" \"/var/www/html/admin\"; clone_repo \"${CORE_FORK}\" \"pi-hole\" \"${CORE_BRANCH}\" \"/etc/.pihole\" # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.920981048Z","created_by":"RUN |11 TARGETPLATFORM=linux/amd64 WEB_BRANCH=master CORE_BRANCH=master FTL_BRANCH=master PIHOLE_DOCKER_TAG=2026.10.1 PADD_BRANCH=master CORE_FORK=pi-hole WEB_FORK=pi-hole PADD_FORK=pi-hole PIHOLE_UID=1000 PIHOLE_GID=1000 /bin/sh -c cd /etc/.pihole \u0026\u0026 install -Dm755 -d /opt/pihole \u0026\u0026 install -Dm755 -t /opt/pihole gravity.sh \u0026\u0026 install -Dm755 -t /opt/pihole ./advanced/Scripts/*.sh \u0026\u0026 install -Dm755 -t /opt/pihole ./advanced/Scripts/COL_TABLE \u0026\u0026 install -Dm755 -d /etc/pihole \u0026\u0026 install -Dm755 -d /var/log/pihole \u0026\u0026 install -Dm755 -d /var/lib/logrotate \u0026\u0026 install -Dm755 -t /usr/local/bin pihole \u0026\u0026 install -Dm644 ./advanced/bash-completion/pihole.bash /etc/bash_completion.d/pihole \u0026\u0026 install -Dm644 ./advanced/bash-completion/pihole-ftl.bash /etc/bash_completion.d/pihole-FTL \u0026\u0026 install -T -m 0755 ./advanced/Templates/pihole-FTL-prestart.sh /opt/pihole/pihole-FTL-prestart.sh \u0026\u0026 install -T -m 0755 ./advanced/Templates/pihole-FTL-poststop.sh /opt/pihole/pihole-FTL-poststop.sh \u0026\u0026 install -T -m 644 ./advanced/Templates/logrotate /etc/logrotate.d/pihole \u0026\u0026 addgroup -S pihole -g ${PIHOLE_GID} \u0026\u0026 adduser -S pihole -G pihole -u ${PIHOLE_UID} # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.968412511Z","created_by":"RUN |11 TARGETPLATFORM=linux/amd64 WEB_BRANCH=master CORE_BRANCH=master FTL_BRANCH=master PIHOLE_DOCKER_TAG=2026.10.1 PADD_BRANCH=master CORE_FORK=pi-hole WEB_FORK=pi-hole PADD_FORK=pi-hole PIHOLE_UID=1000 PIHOLE_GID=1000 /bin/sh -c git config --system --add safe.directory /etc/.pihole \u0026\u0026 git config --system --add safe.directory /var/www/html/admin \u0026\u0026 chmod a+r /etc/gitconfig # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.975036519Z","created_by":"COPY --chmod=0755 bash_functions.sh /usr/bin/bash_functions.sh # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.981617648Z","created_by":"COPY --chmod=0755 prefix-time.sh /usr/bin/prefix-time.sh # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.987222614Z","created_by":"COPY --chmod=0755 start.sh /usr/bin/start.sh # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:38.992675139Z","created_by":"COPY crontab.txt /crontab.txt # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:39.040248101Z","created_by":"RUN |11 TARGETPLATFORM=linux/amd64 WEB_BRANCH=master CORE_BRANCH=master FTL_BRANCH=master PIHOLE_DOCKER_TAG=2026.10.1 PADD_BRANCH=master CORE_FORK=pi-hole WEB_FORK=pi-hole PADD_FORK=pi-hole PIHOLE_UID=1000 PIHOLE_GID=1000 /bin/sh -c if [ \"${PIHOLE_DOCKER_TAG}\" = \"nightly\" ]; then apk add --no-cache gdb screen \u0026\u0026 echo \"ulimit -c unlimited\" \u003e\u003e /etc/profile \u0026\u0026 echo \"handle SIGHUP nostop SIGPIPE nostop SIGTERM nostop SIG32 nostop SIG33 nostop SIG34 nostop SIG35 nostop SIG36 nostop SIG37 nostop SIG38 nostop SIG39 nostop SIG40 nostop SIG41 nostop\" \u003e /root/.gdbinit; fi; echo \"${PIHOLE_DOCKER_TAG}\" \u003e /pihole.docker.tag # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:39.040248101Z","created_by":"EXPOSE [53/tcp 53/udp]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:39.040248101Z","created_by":"EXPOSE [67/udp]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:39.040248101Z","created_by":"EXPOSE [80/tcp]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:39.040248101Z","created_by":"EXPOSE [123/udp]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:39.040248101Z","created_by":"EXPOSE [443/tcp]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:39.574126843Z","created_by":"RUN |11 TARGETPLATFORM=linux/amd64 WEB_BRANCH=master CORE_BRANCH=master FTL_BRANCH=master PIHOLE_DOCKER_TAG=2026.10.1 PADD_BRANCH=master CORE_FORK=pi-hole WEB_FORK=pi-hole PADD_FORK=pi-hole PIHOLE_UID=1000 PIHOLE_GID=1000 /bin/sh -c if [ \"$TARGETPLATFORM\" = \"linux/amd64\" ]; then FTLARCH=amd64; elif [ \"$TARGETPLATFORM\" = \"linux/386\" ]; then FTLARCH=386; elif [ \"$TARGETPLATFORM\" = \"linux/arm/v6\" ]; then FTLARCH=armv6; elif [ \"$TARGETPLATFORM\" = \"linux/arm/v7\" ]; then FTLARCH=armv7; elif [ \"$TARGETPLATFORM\" = \"linux/arm64\" ]; then FTLARCH=arm64; elif [ \"$TARGETPLATFORM\" = \"linux/riscv64\" ]; then FTLARCH=riscv64; else FTLARCH=amd64; fi \u0026\u0026 echo \"Arch: ${TARGETPLATFORM}, FTLARCH: ${FTLARCH}\" \u0026\u0026 if [ \"${FTL_BRANCH}\" = \"master\" ]; then URL=\"https://github.com/pi-hole/ftl/releases/latest/download\"; else URL=\"https://ftl.pi-hole.net/${FTL_BRANCH}\"; fi \u0026\u0026 curl -fsSL \"${URL}/pihole-FTL-${FTLARCH}\" -o /usr/bin/pihole-FTL \u0026\u0026 chmod +x /usr/bin/pihole-FTL \u0026\u0026 readelf -h /usr/bin/pihole-FTL || (echo \"Error with downloaded FTL binary\" \u0026\u0026 exit 1) \u0026\u0026 /usr/bin/pihole-FTL -vv # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-10-31T00:02:39.574126843Z","created_by":"HEALTHCHECK {Test:[CMD-SHELL dig -p $(pihole-FTL --config dns.port) +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1] Interval:0s Timeout:0s StartPeriod:0s StartInterval:0s Retries:0}","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-10-31T00:02:39.574126843Z","created_by":"ENTRYPOINT [\"start.sh\"]","comment":"buildkit.dockerfile.v0","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:75c137aedfb2760f88629236cb7b797630aed0c3d91d626d1d1bb694878fc2ba","sha256:6e55090f9f3d41847bdfd6f69c7e7131e1de42c2746a9e88b1938eb12adb638f","sha256:a5fa8883b37853215983b2e12091ed1f9a31c54927ad2a73fe00c3f3ea3f04a7","sha256:3e060dd0d6cda3a063db27da34533c96dafbbc4c6422fd1048eb9a8efbed6c71","sha256:1f8e4b25a6069e2ccf38b82a69b0d6ca55448f85231c3549dd12b49ab66e5976","sha256:dee9c5b1498bf452adbb1a2f52e16780a812dee82e08472168d06e2de38f6b81","sha256:abbe9e86dad89712a8c41984b5ca42d34b20109518bb7bc3dd01b85fb035067c","sha256:62b1393a984c41b34c3815762a220465b62f1cd6b67f133836ff7dbf99fd8379","sha256:6f7b35c8b3cf7227a96b0d0025a74cc82b1304a4cbf32ac4dfdf2e6f72fbfd31","sha256:172befaf096941ec3d1c81ab2c439d55cfbad2b88b778b4cad9b857a2a29c008","sha256:f67c463e01f53987d17ef6932649de00aaea81810b80c7e6cdaaf40ed6428d8f","sha256:14c98d65825f3d39157ac3cfefeef454919f76cddf572fe384955bfc1631aefc","sha256:183f94cd79432d2af66acc0c677f106285781611fb530064897ddb2eaa6d1b28"]}}