docker_get_logs
Retrieve Docker container logs with options for tail count, timestamp inclusion, and live follow. Specify container ID and customize log output.
Instructions
Get logs from a Docker container
Args: container_id: Container ID or name tail: Number of lines from end of logs (default: 100) follow: Follow log output (default: False) timestamps: Include timestamps (default: True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | ||
| tail | No | ||
| follow | No | ||
| timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |