Improve Docker instruction #653
parent
51c04bccd8
commit
3159a67e5c
21
Docker.md
21
Docker.md
|
@ -97,11 +97,30 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
|
||||||
|
|
||||||
## How to update
|
## How to update
|
||||||
|
|
||||||
|
##### To update the container the following steps have to be executed:
|
||||||
|
|
||||||
|
* Pull the new version from Docker Hub
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull adguard/adguardhome
|
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
|
```bash
|
||||||
docker pull adguard/adguardhome:arm64-latest
|
docker pull adguard/adguardhome:arm64-latest
|
||||||
|
|
Loading…
Reference in New Issue