AdGuard Home in Docker

Network-wide DNS ad blocker. All devices on the network use this as their DNS server, blocking ads and trackers at the DNS level.

Docker Compose

adguardhome:
  image: adguard/adguardhome:latest
  container_name: adguardhome
  restart: unless-stopped
  ports:
    - 53:53/udp
    - 53:53/tcp
    - 80:80/tcp
    - 3000:3000/tcp
  volumes:
    - /app-config/adguardhome/conf:/opt/adguardhome/conf
    - /app-config/adguardhome/work:/opt/adguardhome/work

Web UI

Ports

DNS Configuration

Blocklists

Removed the default blocklist. Using Hagezi lists instead:

DNS Rewrites

Network Setup

Set the router's DHCP DNS server to the server's IP so all devices on the network automatically use AdGuard Home for DNS. This blocks ads network-wide without installing anything on individual devices.

Volume Paths

Created 2026-02-07T23:15:12+01:00, updated 2026-02-08T00:32:30+01:00 · History · Edit