Use one command for updating with Docker Compose (#929)
This commit is contained in:
commit
81cae5e231
12
README.md
12
README.md
|
@ -120,13 +120,11 @@ docker pull ghcr.io/wg-easy/wg-easy
|
|||
|
||||
And then run the `docker run -d \ ...` command above again.
|
||||
|
||||
To update using Docker Compose:
|
||||
|
||||
```shell
|
||||
docker compose pull
|
||||
docker compose up --detach
|
||||
```
|
||||
|
||||
With Docker Compose WireGuard Easy can be updated with a single command:
|
||||
`docker compose up --detach --pull always` (if an image tag is specified in the
|
||||
Compose file and it is not `latest`, make sure that it is changed to the desired
|
||||
one; by default it is omitted and
|
||||
[defaults to `latest`](https://docs.docker.com/engine/reference/run/#image-references)). \
|
||||
The WireGuared Easy container will be automatically recreated if a newer image
|
||||
was pulled.
|
||||
|
||||
|
|
Loading…
Reference in New Issue