#!/bin/bash # shellcheck disable=SC1091 source "${AGENT_PATH}/common.sh" _check_required_env_vars "CONTAINER_NAME" if ! _is_container_exists "$CONTAINER_NAME"; then echo "Container $CONTAINER_NAME does not exist" exit 1 fi # Show logs with follow by default echo "Showing logs for Cloudflare Tunnel (Ctrl+C to exit)..." echo "=======================================================" docker logs -f "$CONTAINER_NAME" 2>&1