Prepare verified laboratory 5 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 276dbdad8a
commit 57a253e0b4
122 changed files with 13404 additions and 72 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
[ -n "${TARGET_INSTANCE_ID:-}" ] || exit 2
for id in $("$ROOT/scripts/compose.sh" ps -q api); do
host=$(docker inspect --format '{{.Config.Hostname}}' "$id")
if [ "$host" = "$TARGET_INSTANCE_ID" ]; then
docker stop --time 8 "$id"
exit 0
fi
done
exit 3