Skip to content

Commit a121f3a

Browse files
Bot Updating Templated Files
1 parent 33e35e8 commit a121f3a

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

8787
```yaml
8888
---
89-
version: "2.1"
9089
services:
9190
code-server:
9291
image: lscr.io/linuxserver/code-server:latest
@@ -215,7 +214,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
215214

216215
## Updating Info
217216

218-
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.
217+
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.
219218

220219
Below are the instructions for updating containers:
221220

@@ -280,21 +279,6 @@ Below are the instructions for updating containers:
280279
docker image prune
281280
```
282281

283-
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
284-
285-
* Pull the latest image at its tag and replace it with the same env variables in one run:
286-
287-
```bash
288-
docker run --rm \
289-
-v /var/run/docker.sock:/var/run/docker.sock \
290-
containrrr/watchtower \
291-
--run-once code-server
292-
```
293-
294-
* You can also remove the old dangling images: `docker image prune`
295-
296-
**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).
297-
298282
### Image Update Notifications - Diun (Docker Image Update Notifier)
299283

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