Docker adguard7/8/2023 ![]() Save the file with ctl + x, then y to save. If you want a different port, just change the number 83 to whatever port you wanted. I’m using port 80 for other software so I am mapping port 83 for the webui. If you want to save the data to another directory change the volumes to point to the directories you want to. ![]() mkdir ~/dockers/adguardhomeĬhange directory to this folder cd ~/dockers/adguardhomeĬreate 2 directories, conf and work, for adguardhome to save to:- mkdir conf workĬreate a docker-compose.yml file nano docker-compose.yml Now create a folder for adguardhome to live in. If it doesn’t exist already, create this folder:- mkdir ~/dockers ![]() I keep all my dockers in a dockers folder in my home directory. Test it has installed correctly by getting the docker-compose version docker-compose -version Give permissions to this sudo chmod +x /usr/local/bin/docker-compose This downloads v2.16.0, just change this if the version updates to a later version sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose ![]() I also install docker-compose as some dockers need you to compose from a yml file. Test it has installed correctly by getting the docker version docker -version This is to apply the permissions in the above step Once you have run this command close and reopen your session if you accessing remotely. Give your user permissions to docker, replacing user with your username sudo usermod -aG docker user Set Docker to start on startup sudo systemctl enable -now docker Install the latest version sudo apt install docker.io Update the repo to get latest versions sudo apt update
0 Comments
Leave a Reply. |