Update README.md

This commit is contained in:
mag37 2023-01-19 12:20:02 +01:00 committed by GitHub
parent 6195b712ac
commit 55e8e6bde0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,8 @@ Options:
-a Automatic updates, without interaction.
-n No updates, only checking availability.
```
A script to check all currently running containers if they've got updates without pulling images, list them and give the option to update.
A script to check for updates on all currently running containers without pulling images, list them and give the option to update.
Basic example:
```bash
$ dockcheck.sh
@ -33,6 +34,9 @@ homer
Do you want to update? y/[n]
y
```
Then it proceedes to run `pull` and `up -d` on every container with updates.
And with `-n No updates` and `gl` for *gl* filtering:
```bash
@ -46,7 +50,6 @@ glances
No updates installed, exiting
```
Then it proceedes to run `pull` and `up -d` on every container with updates.
Example-video:
[![asciicast](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2.svg)](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2)