Container stdout/stderr log file
GET/v1/containers/:id/logs
Reads logs/{id}.log under the daemon data directory. With plain=1 (default), JSONL
lines are decoded to plain text. With follow=1, new lines are streamed until the client disconnects.
Request
Responses
- 200
- 404
- 500
Plain text log stream (or snapshot when not following)
No log file for this container
Read error