Skip to content

Commit 1df99e2

Browse files
Bot Updating Templated Files
1 parent 6370666 commit 1df99e2

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ To help you get started creating a container from this image you can either use
7171

7272
```yaml
7373
---
74-
version: "2.1"
7574
services:
7675
nginx:
7776
image: lscr.io/linuxserver/nginx:latest
@@ -185,7 +184,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
185184

186185
## Updating Info
187186

188-
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
187+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
189188

190189
Below are the instructions for updating containers:
191190

@@ -250,21 +249,6 @@ Below are the instructions for updating containers:
250249
docker image prune
251250
```
252251

253-
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
254-
255-
* Pull the latest image at its tag and replace it with the same env variables in one run:
256-
257-
```bash
258-
docker run --rm \
259-
-v /var/run/docker.sock:/var/run/docker.sock \
260-
containrrr/watchtower \
261-
--run-once nginx
262-
```
263-
264-
* You can also remove the old dangling images: `docker image prune`
265-
266-
**warning**: We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
267-
268252
### Image Update Notifications - Diun (Docker Image Update Notifier)
269253

270254
**tip**: We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.

0 commit comments

Comments
 (0)