log analyzer docker

    1

    Analyze Docker Engine, Compose, and BuildKit logs to diagnose container failures, OOM kills, and security leaks.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    log analyzer docker

    Example session with this skill installed

    Analyze these logs
    api-1 | Error: Cannot connect to the database
    api-1 | api-1 exited with code 137
    db-1 | 2023-10-27 10:00:00 [ERROR] Out of memory.
    db-1 | db-1 exited with code 1
    docker-compose.yml has ARG DB_PASS=secret123

    • Read your context and instructions
    • Compiled the log analyzer docker

    The logs indicate a resource exhaustion issue leading to a service crash, along with a security risk in your configuration.

    REPORTE DE ANÁLISIS DE LOG — DOCKER

    SecciónDetalle
    TecnologíaDocker Compose / Docker Engine
    EntornoNo declarado (asumido Local/Dev)
    Componentesapi-1, db-1
    Total eventos2 Críticos, 1 Advertencia
    DiagnósticoEl servicio db-1 sufrió un error de memoria, provocando que api-1 fuera terminado por el kernel (OOM) o el daemon.

    🔴 HALLAZGOS CRÍTICOS

    Exit Code 137 (api-1): El contenedor fue terminado forzosamente. Esto suele indicar que el OOM Killer de Docker intervino porque el contenedor superó su límite de memoria asignado.

    Database Failure (db-1): El log muestra explícitamente Out of memory. El servicio de base de datos colapsó, lo que causó el error de conexión en la API antes de que esta también fuera terminada.

    🟡 ADVERTENCIAS

    Seguridad: Se detectó el uso de ARG DB_PASS. Los valores pasados por ARG persisten en el historial de capas de la imagen.

    • DATO SENSIBLE: Valor: <span style="color:red;font-weight:bold">secret123</span>

    🛠️ PRÓXIMOS PASOS

    1. Aumentar los límites de memoria en compose.yaml para el servicio db-1 usando la clave deploy.resources.limits.memory.
    2. Migrar DB_PASS de ARG a secrets: o un archivo .env para evitar que la credencial quede grabada en la imagen.
    3. Revisar docker inspect api-1 para confirmar si OOMKilled es true.

    ¿Deseas el reporte como documento entregable (Word/Markdown)?

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Debug Docker infrastructure without manual log scrubbing. This skill parses logs from Docker Engine, Docker Compose, and BuildKit to isolate container failures, daemon connectivity issues, and image build errors. It moves past generic error messages to identify specific root causes like OOM kills, architecture mismatches, and socket permission errors.

    What it does

    • Diagnose Engine Failures identifies daemon connection errors, socket permission issues, and disk space exhaustion.
    • Analyze Compose Services tracks service health dependencies and port allocation conflicts across multi-container setups.
    • Troubleshoot BuildKit pinpoints exact Dockerfile line failures, build context mismatches, and registry rate limits.
    • Identify Exit Codes interprets system signals such as Exit Code 137 (OOMKilled) or OCI runtime execution errors.
    • Detect Security Risks flags exposed credentials in build args, environment variables, or unencrypted registry configs.

    How it works

    1. Detection scans for Docker-specific markers like docker-compose.yml patterns, dockerd entries, or BuildKit prefixes.
    2. Context Gathering asks for missing environment details like host OS, Docker version, or the relevant compose.yaml.
    3. Analysis maps log patterns against known failure states like exec format error or dependency failed to start.
    4. Reporting generates a structured diagnostic report with critical findings and recommended fixes.

    Frameworks & tools

    Works with Docker Engine, Docker Compose, BuildKit, and Docker Desktop. It handles logs from standard Linux hosts and amd64/arm64 cross-platform builds.

    Why this beats prompting it yourself

    Generic prompts often miss low-level Docker signals like Exit Code 137 or docker.sock permission nuances. This skill follows a specialized diagnostic framework that explicitly checks for OOM kills and hidden security leaks in build layers that general models overlook.

    Use cases

    • Debugging a container that is stuck in a restart loop without obvious application errors.
    • Resolving complex Docker Compose startup failures where services fail their healthchecks.
    • Fixing failed to solve errors in CI/CD pipelines using BuildKit.
    • Auditing Docker logs for sensitive data leaks before moving to production.

    Known limitations

    Does not support Kubernetes logs (use log-analyzer-kubernetes instead). Requires logs to be provided in text format; cannot directly access local Docker sockets or CLI.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scanned

    Verified clean today

    • Passed all security checks, Safe to install

    Listedtoday

    What's inside

    Frequently Asked Questions