container_logs
Fetch Docker container logs to debug issues. Filter by line count, time range, and include timestamps to pinpoint errors.
Instructions
Fetch the logs of a container
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Number of lines to show from the end of the logs (e.g. "100") | |
| since | No | Show logs since timestamp (e.g. "2021-01-02T13:23:37") or relative (e.g. "42m" for 42 minutes) | |
| until | No | Show logs before timestamp (e.g. "2021-01-02T13:23:37") or relative (e.g. "42m" for 42 minutes) | |
| container | Yes | Container ID or name | |
| timestamps | No | Show timestamps |