← Back to Tools
📜

Container Logs

Retrieve log output from a running or stopped Docker container

Operations 🐳 Docker Output: text

Example Prompt

Show the last 100 lines of logs from the api container

Input Parameters

container string Required

Container name or ID

tail number Optional

Number of lines from the end

since string Optional

Show logs since timestamp or duration (e.g., 10m)

Install MCP Server

aivyx hub install mcp-servers/docker

This tool is available after installing the Docker MCP server.

Tags

dockerlogsdebuggingcontainers