Skip to content

Improve metadata of /events API endpoint #18164

@TomasTomecek

Description

@TomasTomecek

Follow-up issue after discussion with @calavera and @thaJeztah at dockercon.

At the moment, it's not trivial to see if an event is connected to container, image, volume or network:

{"status":"create","id":"5745704abe9caa5","from":"busybox","time":1442421716,"timeNano":1442421716853979870}
{"status":"delete","id":"7f05242655562b48fec7dc838074d0023db80c69f750cb41ab2544596c015d49","time":1448281959}

It would be awesome if the event could contain object type, e.g.:

"type": "container"

or

"type": "volume"

I am planning to consume this in TUI for engine I wrote: https://github.com/TomasTomecek/sen

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions