Skip to content

Commit 600af18

Browse files
Bot Updating Templated Files
1 parent d81d393 commit 600af18

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

8989
```yaml
9090
---
91-
version: "2.1"
9291
services:
9392
openvscode-server:
9493
image: lscr.io/linuxserver/openvscode-server:insiders
@@ -211,7 +210,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
211210

212211
## Updating Info
213212

214-
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.
213+
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.
215214

216215
Below are the instructions for updating containers:
217216

@@ -276,21 +275,6 @@ Below are the instructions for updating containers:
276275
docker image prune
277276
```
278277

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

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