Skip to content

container.logs seems to no stream logs when the container is started without the tty option  #1394

Description

@gpolaert

I'm not sure if it's an issue.

I try to stream container logs using the docker-py client.
I noticed I have no logs when my container is started without -t.

logs = container.logs(stream=True, follow=True, stdout=True, stderr=False, tail=0)

Even if I can show them using this command docker logs -f <container>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions