Update dockcheck_function.sh

This commit is contained in:
mag37 2023-01-18 13:30:20 +01:00 committed by GitHub
parent 8d5ab4f358
commit 9ba49ffa15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
### Requires the regctl binary, either in PATH or as an alias ### Requires the regctl binary, either in PATH or as an alias
### Get it here: https://github.com/regclient/regclient/releases ### Get it here: https://github.com/regclient/regclient/releases
alias="/path/to/regctl" alias regctl="/path/to/regctl"
dockcheck () { dockcheck () {
if [[ -z "$1" ]]; then if [[ -z "$1" ]]; then
echo "No container name given, here's the list of currently running containers:" echo "No container name given, here's the list of currently running containers:"