Files
2026-09-06 13:50:54 +00:00

10 lines
423 B
Bash

#!/usr/bin/env bash
# Garage cluster health: node table + block manager + usage.
# Works from bigbox; the dxflrs/garage:v2.1.0 image is scratch (no shell), so the
# CLI is invoked via --entrypoint /garage with config + meta mounted.
set -euo pipefail
GE=/opt/garage
exec docker run --rm \
-v "$GE/garage.toml:/etc/garage.toml:ro" \
-v "$GE/meta:/var/lib/garage/meta" \
--entrypoint /garage dxflrs/garage:v2.1.0 status