Files

8 lines
230 B
Bash
Executable File

#!/bin/sh
set -eu
: "${TARGET_INSTANCE_ID:?test provides target API instance alias}"
# X-Instance-Id = short container ID (lab3 implementation detail).
# docker stop resolves short IDs natively.
docker stop "$TARGET_INSTANCE_ID"