docker_logs
Read recent logs from a Docker container to diagnose issues. Specify the container, optional host, and trailing line count.
Instructions
Read the recent logs of a Docker container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| lines | No | how many trailing log lines (default 100, max 2000) | |
| container | Yes | container name or ID |