forked from mtusi2026/mtusi2026lab3
ЛР 3 - БВТ2304 - Гончаревская.Е.А. - на 3
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/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