Setup AdGuard Server

Server Specifications
OS: Debian 10 > 
CPU: 2x v-core 
RAM: 2GB 
HDD: 30GB

Installing Docker

apt-get update && apt-get install curl sudo -y
sudo curl -sSL https://get.docker.com/ | sh

Creating Docker Data Folders

mkdir /mnt/data && mkdir /mnt/data/work && mkdir /mnt/data/conf

Downloading Docker Image

docker pull adguard/adguardhome

Run Docker Image

docker run --name adguardhome --restart always --network host -v /mnt/data/work:/opt/adguardhome/work -v /mnt/data/conf:/opt/adguardhome/conf -d adguard/adguardhome

Start Docker Container

docker start adguardhome

Now open the browser and navigate to http://SERVER-IP-ADDRESS:3000/

Start / Stop

docker start adguardhome
docker stop adguardhome

Update AdGuard

docker pull adguard/adguardhome
docker stop adguardhome
docker rm adguardhome
docker run --name adguardhome --network host -v /mnt/data/work:/opt/adguardhome/work -v /mnt/data/conf:/opt/adguardhome/conf -d adguard/adguardhome

Was this helpful?

1 / 0

Leave a Reply 0