Skip to content

Writing a lot of info in stdout leads to memory leak in docker #7757

@tailhook

Description

@tailhook

Just running:

docker run ubuntu yes "some long string"

Will make docker eat all the memory...

More observations:

  1. Memory reclaimed only when container is removed
  2. It might leak only when docker run is attached
  3. It doesn't seem that docker run can't cope with the traffic (the leak discovered on real logging not on "yes" command)
  4. No "attach" or "logs" command in the process. But "docker run" is attached.

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