Get container logs
get_container_logsFetch the last N lines of a Docker container's logs by id-prefix or exact name. Read-only, aids troubleshooting without side effects.
Instructions
READ-ONLY. Fetch the last N lines of a container's logs. Resolve the container by id-prefix or exact name. No side effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Number of trailing log lines to return (default 100). | |
| container | Yes | Container id-prefix or exact name. |