← All guides
AdGuard Home
AdGuard Home is a network-wide DNS sinkhole that blocks ads and trackers for every device on your network at the DNS level, with optional DNS-over-HTTPS/TLS and DHCP server features.
This guide is synthesized from AdGuard Home's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
1Run the AdGuard Home container
docker run --name adguardhome \ --restart unless-stopped \ -v /my/own/workdir:/opt/adguardhome/work \ -v /my/own/confdir:/opt/adguardhome/conf \ -p 53:53/tcp -p 53:53/udp \ -p 67:67/udp -p 68:68/udp \ -p 80:80/tcp -p 443:443/tcp -p 443:443/udp -p 3000:3000/tcp \ -p 853:853/tcp -p 853:853/udp \ -p 5443:5443/tcp -p 5443:5443/udp \ -p 6060:6060/tcp \ -d adguard/adguardhomeReplace /my/own/workdir and /my/own/confdir with real host paths. Port 53 must be free (disable systemd-resolved's stub listener first if needed).
2Complete the setup wizard
Open http://127.0.0.1:3000/ (or the server's IP) to set the admin password and DNS listen settings.