{"id":15192100,"url":"https://github.com/adamstac/pihole-docker","last_synced_at":"2026-02-26T17:05:30.987Z","repository":{"id":66380539,"uuid":"418042718","full_name":"adamstac/pihole-docker","owner":"adamstac","description":"The easiest way to run Pi-hole","archived":false,"fork":false,"pushed_at":"2023-01-05T20:34:28.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T21:40:58.013Z","etag":null,"topics":["docker","dockercompose","pihole"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamstac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-17T06:35:26.000Z","updated_at":"2022-11-19T20:04:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"97aa5f49-2b33-4678-8d79-fb9565d3a8a5","html_url":"https://github.com/adamstac/pihole-docker","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"6deb34300f281804f677062127589373e1e82e0d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamstac/pihole-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamstac%2Fpihole-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamstac%2Fpihole-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamstac%2Fpihole-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamstac%2Fpihole-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamstac","download_url":"https://codeload.github.com/adamstac/pihole-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamstac%2Fpihole-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29865439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T16:38:37.846Z","status":"ssl_error","status_checked_at":"2026-02-26T16:37:58.932Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockercompose","pihole"],"created_at":"2024-09-27T21:04:57.296Z","updated_at":"2026-02-26T17:05:30.967Z","avatar_url":"https://github.com/adamstac.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pi-hole Docker\n\nRunning Pi-hole with Docker is the easiest way to run Pi-hole on your LAN. This repo makes it even easier!\n\n## Pre-requisites\n\nYou must have Docker and Docker Compose installed. I run my Pi-hole on a Mac Mini and run Docker for Mac (Intel).\n\n## Install and run Pi-hole\n\nClone the repo to your machine. I like to clone to my user root `~/pihole`.\n\n```\ngh repo clone adamstac/pihole-docker pihole\n```\n\nThen do the following to get things setup.\n\n```\ncd pihole\ncp .env-example .env\nvim .env\n```\n\nSet your `.env` file as you'd like. Here's my example.\n\n```\nHOSTNAME=\"192.169.100.10 (minipro.lan)\"\nWEBPASSWORD=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\nTZ=\"America/Chicago\"\n```\n\nPull the Docker image and and run it.\n\n```\ndocker-compose pull\ndocker-compose up -d\n```\n\nYou should now be running Pi-hole via Docker.\n\nYou should something like this in your terminal.\n\n```\n[+] Running 2/2\n ⠿ Network pihole_default  Created               0.0s\n ⠿ Container pihole        Started               0.4s\n```\n\nYou can confirm Pi-hole is running with the following command.\n\n```\ndocker ps --format \"table {{.ID}}\\t{{.Names}}\\t{{.Image}}\\t{{.Status}}\"\n```\n\nYou should see output like this.\n\n```\nCONTAINER ID   NAMES     IMAGE                  STATUS\n6fb9a1ae9175   pihole    pihole/pihole:latest   Up 2 minutes (healthy)\n```\n\n## Update Pi-hole\n\nPi-hole will let you know in the footer of the web UI when you're running outdated. To update, run the following commands.\n\nPull the latest.\n\n```\ndocker-compose pull\n```\n\nThen, shutdown Pi-hole.\n\n```\ndocker-compose down\n```\n\nPrune any left over images, then run Pi-hole again.\n\n```\ndocker image prune\ndocker-compose up -d\n```\n\nYour Pi-hole should be running again.\n\n## Disk shortage error\n\n```\nvim ./etc-pihole/pihole-FTL.conf\n```\n\nAdd the following.\n\n```\nCHECK_DISK=0\n```\n\nYour `pihole-FTL.conf` should look something like this after you've added this line.\n\n```\n#; Pi-hole FTL config file\n#; Comments should start with #; to avoid issues with PHP and bash reading this file\nCHECK_DISK=0\nLOCAL_IPV4=0.0.0.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamstac%2Fpihole-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamstac%2Fpihole-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamstac%2Fpihole-docker/lists"}