From 3159a67e5c5d29a0bac49a72619cf729290c5ca5 Mon Sep 17 00:00:00 2001 From: Eugene Zbiranik Date: Mon, 1 Apr 2019 11:18:56 +0300 Subject: [PATCH 1/2] Improve Docker instruction #653 --- Docker.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Docker.md b/Docker.md index e887753..fedc63b 100644 --- a/Docker.md +++ b/Docker.md @@ -97,11 +97,30 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib ## How to update +##### To update the container the following steps have to be executed: + +* Pull the new version from Docker Hub + ```bash docker pull adguard/adguardhome ``` -To update the image for a specific architecture e.g. `arm64`: +* Stop and remove currently running container (assuming the container is named `adguardhome`) + +```bash +docker stop adguardhome +docker rm adguardhome +``` + +* Start the container using the new image + +```bash +docker run --name adguardhome --net=host adguard/adguardhome +``` + + + +##### Updating the image for a specific architecture e.g. `arm64`: ```bash docker pull adguard/adguardhome:arm64-latest From 5fa3707e080a3f3a979ee50fec0fed0f88c18128 Mon Sep 17 00:00:00 2001 From: Eugene Zbiranik Date: Mon, 1 Apr 2019 11:53:38 +0300 Subject: [PATCH 2/2] add persistent link --- Docker.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Docker.md b/Docker.md index fedc63b..e8a5481 100644 --- a/Docker.md +++ b/Docker.md @@ -54,7 +54,8 @@ docker run -d --net=host adguard/adguardhome Now open the browser and navigate to http://DOCKER_HOST_IP:3000/ to control your AdGuard Home service. -## Persistent configuration / data + +## Persistent configuration / data There are several ways to store data used by applications that run in Docker containers. We encourage users of the `adguard/adguardhome` images to familiarize themselves with the options available, including: @@ -112,7 +113,7 @@ docker stop adguardhome docker rm adguardhome ``` -* Start the container using the new image +* Start the container using the new image (for persistent configuration see [section](#persistent) above) ```bash docker run --name adguardhome --net=host adguard/adguardhome