mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
Added info
This commit is contained in:
parent
7630a95442
commit
f233cf3b41
2 changed files with 7 additions and 5 deletions
|
|
@ -15,13 +15,14 @@ ___
|
||||||
```
|
```
|
||||||
$ ./dockcheck.sh -h
|
$ ./dockcheck.sh -h
|
||||||
Syntax: dockcheck.sh [OPTION] [part of name to filter]
|
Syntax: dockcheck.sh [OPTION] [part of name to filter]
|
||||||
Example: dockcheck.sh -a ng
|
Example: dockcheck.sh -a -e nextcloud,heimdall
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h Print this Help.
|
-h Print this Help.
|
||||||
-a|y Automatic updates, without interaction.
|
-a|y Automatic updates, without interaction.
|
||||||
-n No updates, only checking availability.
|
-n No updates, only checking availability.
|
||||||
-p Auto-Prune dangling images after update.
|
-p Auto-Prune dangling images after update.
|
||||||
|
-e Exclude containers, separated by comma.
|
||||||
-r Allow updating images for docker run, wont update the container.
|
-r Allow updating images for docker run, wont update the container.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -68,11 +69,12 @@ Containers need to be manually stopped, removed and created again to run on the
|
||||||
- ~~Having no curl/wget leads to corrupt `regctl` without alerting.~~
|
- ~~Having no curl/wget leads to corrupt `regctl` without alerting.~~
|
||||||
- ~~Using custom `.env` files does not work.~~
|
- ~~Using custom `.env` files does not work.~~
|
||||||
- ~~Pull not respecting image:tags, always defaulting to latest~~
|
- ~~Pull not respecting image:tags, always defaulting to latest~~
|
||||||
|
- ~~Not respecting multi-compose projects using multiple `-f` like `...override.yml` or similar.~~
|
||||||
|
- ~~Not being able to exclude specific containers.~~
|
||||||
|
|
||||||
### :hammer: Known issues
|
### :hammer: Known issues
|
||||||
- No detailed error feedback (just skip + list what's skipped) .
|
- No detailed error feedback (just skip + list what's skipped) .
|
||||||
- Not respecting `--profile` options when re-creating the container.
|
- Not respecting `--profile` options when re-creating the container.
|
||||||
- Not respecting multi-compose projects using multiple `-f` like `...override.yml` or similar.
|
|
||||||
|
|
||||||
## `dc_brief.sh`
|
## `dc_brief.sh`
|
||||||
Just a brief, slimmed down version of the script to only print what containers got updates, no updates or errors.
|
Just a brief, slimmed down version of the script to only print what containers got updates, no updates or errors.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ LatestRelease="$(curl -s -r 0-50 https://raw.githubusercontent.com/mag37/dockche
|
||||||
### Help Function:
|
### Help Function:
|
||||||
Help() {
|
Help() {
|
||||||
echo "Syntax: dockcheck.sh [OPTION] [part of name to filter]"
|
echo "Syntax: dockcheck.sh [OPTION] [part of name to filter]"
|
||||||
echo "Example: dockcheck.sh -a ng"
|
echo "Example: dockcheck.sh -a -e nextcloud,heimdall"
|
||||||
echo
|
echo
|
||||||
echo "Options:"
|
echo "Options:"
|
||||||
echo "-h Print this Help."
|
echo "-h Print this Help."
|
||||||
|
|
@ -188,9 +188,9 @@ if [ -n "$GotUpdates" ] ; then
|
||||||
|
|
||||||
### Check if the container got an environment file set, use it if so:
|
### Check if the container got an environment file set, use it if so:
|
||||||
if [ -n "$ContEnv" ]; then
|
if [ -n "$ContEnv" ]; then
|
||||||
$DockerBin ${CompleteConfs[@]} --env-file "$ContEnv" up -d "$ContName" # unquoted array to allow split
|
$DockerBin ${CompleteConfs[@]} --env-file "$ContEnv" up -d "$ContName" # unquoted array to allow split - rework?
|
||||||
else
|
else
|
||||||
$DockerBin ${CompleteConfs[@]} up -d "$ContName" # unquoted array to allow split
|
$DockerBin ${CompleteConfs[@]} up -d "$ContName" # unquoted array to allow split - rework?
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
printf "\033[0;32mAll done!\033[0m\n"
|
printf "\033[0;32mAll done!\033[0m\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue