docker_logs
Retrieves logs from a specified Docker container. Optionally displays the last N lines (default 100) instead of streaming.
Instructions
Return logs from a container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Number of lines from the end to show. Default: 100. | |
| follow | No | Stream logs (not recommended for MCP — use tail instead). | |
| container | Yes | Container name or ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||