docker_logs
Retrieve the last 50 lines of logs from a Docker container by default. Returns a snapshot of recent log output instead of streaming.
Instructions
Get logs from a Docker container: the last lines only, 50 by default, and it returns rather than following the stream
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Container name to get logs from | |
| lines | No | Number of log lines to return (default: 50) | |
| server | No | Remote server name from config (optional, runs locally if omitted) |