container_logs
Retrieve container logs with options for stdout, stderr, timestamps, and time range filters to debug and monitor Docker containers.
Instructions
Get the logs of a container.
args: id_or_name - The container id or name stdout - Include stdout stderr - Include stderr timestamps - Include timestamps tail - Number of lines from the end, or the literal "all" since - Only return logs created after this unix timestamp until - Only return logs created before this unix timestamp returns: str - Decoded log output
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | all | |
| since | No | ||
| until | No | ||
| stderr | No | ||
| stdout | No | ||
| id_or_name | Yes | ||
| timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |