Skip to content

Commit

Permalink
docs: fix updating images section (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
rti authored Nov 8, 2024
1 parent a7122ca commit 18ce9b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,16 @@ WBS Deploy may also receive minor and patch updates, but, as noted above, they a

#### Minor and patch updates for WBS images

Because WBS Deploy always references the latest minor and patch releases of compatible WBS images, non-breaking changes (including security updates) are applied automatically when re-creating Docker containers.
Because WBS Deploy always references the latest minor and patch releases of compatible WBS images, non-breaking changes (including security updates) can be pulled at any time.

This is always safe to do. Simply run:

```sh
docker compose down
docker compose pull
docker compose up
```
> 💡 In order to **prevent** new versions of WBS images being pulled on container restart, stop your containers using `docker compose stop` instead of `docker compose down`, which will keep the current containers intact. **Note**: this stops security updates from being applied. It is generally recommended to use `docker compose down`, which removes the containers and allows updates to be applied.
> 💡 In order to automatically update images on every start, you can also use `docker compose up --pull always` to start your WBS Deploy stack.
#### Minor and patch updates for WBS Deploy

Expand Down

0 comments on commit 18ce9b8

Please sign in to comment.