mirror of
https://github.com/mag37/dockcheck.git
synced 2026-03-03 07:30:33 +01:00
Added info about selection.
Now possible to choose from a numbered list of updates. Will update gif-example in the future.
This commit is contained in:
parent
4855a8a3f5
commit
fd7105d208
1 changed files with 16 additions and 10 deletions
24
README.md
24
README.md
|
|
@ -1,5 +1,5 @@
|
||||||
# dockcheck
|
# dockcheck
|
||||||
### A script checking updates for docker images **without the need of pulling** - then having the option to auto-update.
|
### A script checking updates for docker images **without the need of pulling** - then having the option to auto-update either all or selecting specific containers.
|
||||||
|
|
||||||
With the help of [`regctl`](https://github.com/regclient/regclient).
|
With the help of [`regctl`](https://github.com/regclient/regclient).
|
||||||
This is just a concept for fun and inspiration, use with care.
|
This is just a concept for fun and inspiration, use with care.
|
||||||
|
|
@ -13,11 +13,12 @@ ___
|
||||||
## `dockcheck.sh`
|
## `dockcheck.sh`
|
||||||
```bash
|
```bash
|
||||||
$ ./dockcheck.sh -h
|
$ ./dockcheck.sh -h
|
||||||
Syntax: dockcheck.sh [OPTION] [optional string to filter names]
|
Syntax: dockcheck.sh [OPTION] [part of name to filter]
|
||||||
|
Example: dockcheck.sh -a ng
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h Print this Help.
|
-h Print this Help.
|
||||||
-a Automatic updates, without interaction.
|
-a|y Automatic updates, without interaction.
|
||||||
-n No updates, only checking availability.
|
-n No updates, only checking availability.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -29,15 +30,21 @@ Basic example:
|
||||||
```bash
|
```bash
|
||||||
$ ./dockcheck.sh
|
$ ./dockcheck.sh
|
||||||
. . .
|
. . .
|
||||||
Containers with updates available:
|
|
||||||
whoogle-search
|
|
||||||
|
|
||||||
Containers on latest version:
|
Containers on latest version:
|
||||||
glances
|
glances
|
||||||
homer
|
homer
|
||||||
|
|
||||||
Do you want to update? y/[n]
|
Containers with updates available:
|
||||||
y
|
0) ALL
|
||||||
|
1) adguardhome
|
||||||
|
2) syncthing
|
||||||
|
3) whoogle-search
|
||||||
|
|
||||||
|
|
||||||
|
Do you want to update? y/[n] y
|
||||||
|
What containers do you like to update?
|
||||||
|
Enter number(s) separated by comma: 1,3
|
||||||
|
|
||||||
```
|
```
|
||||||
Then it proceedes to run `pull` and `up -d` on every container with updates.
|
Then it proceedes to run `pull` and `up -d` on every container with updates.
|
||||||
|
|
||||||
|
|
@ -65,7 +72,6 @@ No updates installed, exiting
|
||||||
|
|
||||||
### :hammer: Known issues
|
### :hammer: Known issues
|
||||||
- ~~No granular choice of what to update (except initial name filter).~~
|
- ~~No granular choice of what to update (except initial name filter).~~
|
||||||
- Now in [`experimental_dockcheck.sh`](https://github.com/mag37/dockcheck/blob/main/experimental_dockcheck.sh)
|
|
||||||
- No detailed error feedback (just skip + list what's skipped) .
|
- No detailed error feedback (just skip + list what's skipped) .
|
||||||
|
|
||||||
## `dockcheck_docker-run_ver.sh`
|
## `dockcheck_docker-run_ver.sh`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue