Skip to main content

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

Plain text log stream (or snapshot when not following)