forked from mtusi2026/mtusi2026lab4
Лабораторная 4 - Гончаревская.Е.А. - БВТ2304 - На 3
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
: "${TARGET_INSTANCE_ID:?TARGET_INSTANCE_ID is required}"
|
||||
case "$TARGET_INSTANCE_ID" in *[!a-fA-F0-9-]*|'') echo "Invalid API instance id" >&2; exit 2;; esac
|
||||
docker stop --time 5 "$TARGET_INSTANCE_ID" >/dev/null
|
||||
Reference in New Issue
Block a user