#!/bin/bash source "${AGENT_PATH}/common.sh" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" _check_required_env_vars "CONTAINER_NAME" cd "$SCRIPT_DIR" || _die "Failed to change to script directory" # Stop and remove containers docker compose down || true # Remove the container if it still exists _remove_container "$CONTAINER_NAME" 2>/dev/null || true echo "Graylog client uninstalled"