Skip to content

Commit bbd5311

Browse files
Bot Updating Templated Files
1 parent 8daa817 commit bbd5311

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
@@ -137,7 +137,6 @@ To help you get started creating a container from this image you can either use
137137

138138
```yaml
139139
---
140-
version: "2.1"
141140
services:
142141
unifi-network-application:
143142
image: lscr.io/linuxserver/unifi-network-application:latest
@@ -299,7 +298,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
299298

300299
## Updating Info
301300

302-
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.
301+
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.
303302

304303
Below are the instructions for updating containers:
305304

@@ -364,21 +363,6 @@ Below are the instructions for updating containers:
364363
docker image prune
365364
```
366365

367-
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
368-
369-
* Pull the latest image at its tag and replace it with the same env variables in one run:
370-
371-
```bash
372-
docker run --rm \
373-
-v /var/run/docker.sock:/var/run/docker.sock \
374-
containrrr/watchtower \
375-
--run-once unifi-network-application
376-
```
377-
378-
* You can also remove the old dangling images: `docker image prune`
379-
380-
**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).
381-
382366
### Image Update Notifications - Diun (Docker Image Update Notifier)
383367

384368
**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)