Skip to content

docker.Client.logs(tail=0) returns all logs instead of no logs #845

@exarkun

Description

@exarkun

This is a confusing behavior. It also makes it harder to follow a container's logs (with stream=True) without getting at least some old log data. A work-around is required, specifying tail=1 and then discarding the first line of output.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions