Update dockcheck_function.sh
This commit is contained in:
parent
0f14b123ef
commit
83eb5505a1
@ -3,7 +3,12 @@
|
|||||||
### 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
|
||||||
|
|
||||||
|
### Preferably placed in .bashrc or similar
|
||||||
|
|
||||||
|
### if regctl is not in PATH, set the alias:
|
||||||
alias regctl="/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:"
|
||||||
|
Loading…
Reference in New Issue
Block a user