diff options
-rwxr-xr-x | dabuild-admin | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dabuild-admin b/dabuild-admin index 86c5da8..fe74182 100755 --- a/dabuild-admin +++ b/dabuild-admin @@ -7,12 +7,17 @@ manage_config() { -v dabuild-config:/mnt/abuild alpine sh } +list_volumes() { + docker volume ls --quiet --filter name="^dabuild" +} + usage() { cat <<- EOF dabuild: version (unknown) Available commands: config: access abuild configuration + volumes: list created dabuild volumes help: this help screen EOF } @@ -20,6 +25,7 @@ usage() { case $cmd in config) manage_config;; + volumes) list_volumes;; help) usage;; *) usage; exit 1;; esac |