mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-21 10:44:13 +01:00
Update README.md
This commit is contained in:
parent
6195b712ac
commit
55e8e6bde0
1 changed files with 5 additions and 2 deletions
|
|
@ -18,7 +18,8 @@ Options:
|
||||||
-a Automatic updates, without interaction.
|
-a Automatic updates, without interaction.
|
||||||
-n No updates, only checking availability.
|
-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:
|
Basic example:
|
||||||
```bash
|
```bash
|
||||||
$ dockcheck.sh
|
$ dockcheck.sh
|
||||||
|
|
@ -33,6 +34,9 @@ homer
|
||||||
Do you want to update? y/[n]
|
Do you want to update? y/[n]
|
||||||
y
|
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:
|
And with `-n No updates` and `gl` for *gl* filtering:
|
||||||
```bash
|
```bash
|
||||||
|
|
@ -46,7 +50,6 @@ glances
|
||||||
|
|
||||||
No updates installed, exiting
|
No updates installed, exiting
|
||||||
```
|
```
|
||||||
Then it proceedes to run `pull` and `up -d` on every container with updates.
|
|
||||||
|
|
||||||
Example-video:
|
Example-video:
|
||||||
[](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2)
|
[](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue