diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-19 19:32:36 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-19 19:32:36 +0200 |
commit | 7b5ea21241543b0f75d525888da87f763883b1c7 (patch) | |
tree | c4f1b8be8b43d91be302f6cc54e6c32585b5b54b /docker-status.sh | |
parent | d4cfa5367ac30cee46b43304c70a9d1e4c03c06d (diff) | |
download | docker-status-7b5ea21241543b0f75d525888da87f763883b1c7.tar.xz |
geht erst mal
Diffstat (limited to 'docker-status.sh')
-rwxr-xr-x | docker-status.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-status.sh b/docker-status.sh index c990645..461ed44 100755 --- a/docker-status.sh +++ b/docker-status.sh @@ -2,9 +2,9 @@ echo "Content-Type: application/json" echo "" +printf '[\n' docker ps --format json --no-trunc \ | sed ' $! s/$/,/ - 1 i [ - $ a ] ' +printf ']\n' |