9 lines
243 B
Bash
9 lines
243 B
Bash
#!/usr/bin/env bash
|
|
set -eu
|
|
# Usage: ./scripts/stop_scenar.sh [container_name]
|
|
NAME=${1:-scenar-creator}
|
|
|
|
echo "Stopping and removing container '$NAME'..."
|
|
docker rm -f "$NAME" >/dev/null 2>&1 || true
|
|
echo "Container removed (if it existed)."
|