{"id":1838,"date":"2026-05-03T08:16:32","date_gmt":"2026-05-03T15:16:32","guid":{"rendered":"https:\/\/zigbeedeals.com\/?page_id=1838"},"modified":"2026-06-08T13:28:55","modified_gmt":"2026-06-08T13:28:55","slug":"install-pi-hole-in-docker-container-on-synology-nas","status":"publish","type":"page","link":"https:\/\/nell.tv\/?page_id=1838","title":{"rendered":"Install Pi-Hole in Docker Container on Synology NAS"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"838\" height=\"626\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1210.jpeg\" alt=\"\" class=\"wp-image-1839\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1210.jpeg 838w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1210-300x224.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1210-768x574.jpeg 768w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These instructions will get Pi-Hole up and running in a Docker container on a Synology NAS. My specific model is a DS725+ running DSM version 7.3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:25px\">Create Docker Folders<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a folder in the Docker directory called &#8216;pihole&#8217;. In the \/volume1\/Containers\/pihole directory, create two additional folders called &#8216;pihole&#8217; and &#8216;dnsmasq&#8217;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"669\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1209-1024x669.jpeg\" alt=\"\" class=\"wp-image-1840\" style=\"aspect-ratio:1.5306668345029424;width:487px;height:auto\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1209-1024x669.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1209-300x196.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1209-768x502.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1209.jpeg 1116w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In DSM:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open&nbsp;<strong>Container Manager<\/strong>&nbsp;and click on&nbsp;<strong>Registry<\/strong><\/li>\n\n\n\n<li>Search for &#8216;<strong>pihole\/pihole<\/strong>&#8216; and download the latest<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"787\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1211-1024x787.jpeg\" alt=\"\" class=\"wp-image-1841\" style=\"aspect-ratio:1.301160986571077;width:643px;height:auto\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1211-1024x787.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1211-300x231.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1211-768x590.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1211-1536x1181.jpeg 1536w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1211.jpeg 1548w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In&nbsp;<strong>Container Manager<\/strong>, click &#8216;Image&#8217; on the&nbsp;&nbsp;Left side<\/li>\n\n\n\n<li>Then click&nbsp;<strong>Run<\/strong>&nbsp;the image<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"208\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1212-scaled-1-1024x208.jpeg\" alt=\"\" class=\"wp-image-1842\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1212-scaled-1-1024x208.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1212-scaled-1-300x61.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1212-scaled-1-768x156.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1212-scaled-1-1536x313.jpeg 1536w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1212-scaled-1-2048x417.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Name the container &#8216;<strong>Pi-Hole<\/strong>&#8216;<\/li>\n\n\n\n<li>Select&nbsp;<strong>auto-restart<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"800\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1213-1024x800.jpeg\" alt=\"\" class=\"wp-image-1843\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1213-1024x800.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1213-300x234.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1213-768x600.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1213.jpeg 1466w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the Volume Mappings screen, set the mappings as follows:\n<ol class=\"wp-block-list\">\n<li>Containers\/pihole\/dnsmasq.d &gt; \/etc\/dnsmasq.d<\/li>\n\n\n\n<li>Containers\/pihole\/pihole &gt; \/etc\/pihole<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"799\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1214-1024x799.jpeg\" alt=\"\" class=\"wp-image-1844\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1214-1024x799.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1214-300x234.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1214-768x599.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1214.jpeg 1490w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Environment Variables to add:<\/strong>\n<ol class=\"wp-block-list\">\n<li>TZ = America\/Los_Angeles<\/li>\n\n\n\n<li>FTLCONF_dns_listeningMode = all<\/li>\n\n\n\n<li>FTLCONF_webserver_api_password = *anything*<\/li>\n\n\n\n<li>FTLCONF_webserver_port = 8181<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"798\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1215-1-1024x798.jpeg\" alt=\"\" class=\"wp-image-1846\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1215-1-1024x798.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1215-1-300x234.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1215-1-768x599.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1215-1.jpeg 1466w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Capabilities:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SYS_TIME, SYS_NICE<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Network:<\/strong>&nbsp;host<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"784\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1216-1024x784.jpeg\" alt=\"\" class=\"wp-image-1847\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1216-1024x784.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1216-300x230.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1216-768x588.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1216.jpeg 1478w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Next.<\/li>\n\n\n\n<li>The Summary screen should look like the following:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"796\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1217-1024x796.jpeg\" alt=\"\" class=\"wp-image-1848\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1217-1024x796.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1217-300x233.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1217-768x597.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1217.jpeg 1478w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"817\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1218-1024x817.jpeg\" alt=\"\" class=\"wp-image-1849\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1218-1024x817.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1218-300x239.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1218-768x613.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1218.jpeg 1478w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Done to run the container.<\/li>\n\n\n\n<li>Connect to the web server @ http:\/\/192.168.1.51:8181&nbsp;or whatever your IP is.<\/li>\n\n\n\n<li>The Pi-Hole docker container is sharing the Synology hosts IP address. <\/li>\n\n\n\n<li>If you have enabled the Synology firewall then there are probably some setting to change. I do not use it.<\/li>\n\n\n\n<li>You will also need to update your router DHCP settings to change the DNS server to the new Pi-hole IP address of your NAS. Once done, clients will need their DHCP lease to be released\/renewed to pick up the new DNS IP of the Pi-Hole server.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"957\" src=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1219-1024x957.jpeg\" alt=\"pihole\" class=\"wp-image-1850\" srcset=\"https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1219-1024x957.jpeg 1024w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1219-300x281.jpeg 300w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1219-768x718.jpeg 768w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1219-1536x1436.jpeg 1536w, https:\/\/nell.tv\/wp-content\/uploads\/2026\/05\/IMG_1219-2048x1915.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:34px\">Configuration<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not that Pi-Hole has been installed, the next step is to configure it. <a href=\"https:\/\/nell.tv\/configure-pi-hole-settings\/\">Click here to move on!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These instructions will get Pi-Hole up and running in a Docker container on a Synology NAS. My specific model is a DS725+ running DSM version 7.3. Create Docker Folders Create a folder in the Docker directory called &#8216;pihole&#8217;. In the \/volume1\/Containers\/pihole directory, create two additional folders called &#8216;pihole&#8217; and &#8216;dnsmasq&#8217;. In DSM: Capabilities: SYS_TIME, SYS_NICE&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1838","page","type-page","status-publish","hentry"],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/nell.tv\/index.php?rest_route=\/wp\/v2\/pages\/1838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nell.tv\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nell.tv\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nell.tv\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nell.tv\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1838"}],"version-history":[{"count":1,"href":"https:\/\/nell.tv\/index.php?rest_route=\/wp\/v2\/pages\/1838\/revisions"}],"predecessor-version":[{"id":1959,"href":"https:\/\/nell.tv\/index.php?rest_route=\/wp\/v2\/pages\/1838\/revisions\/1959"}],"wp:attachment":[{"href":"https:\/\/nell.tv\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}