mcollina / docker-loghose

Collect all the logs from all docker containers
MIT License
63 stars 15 forks source link

[Feature] Implement container tag support #19

Closed hazcod closed 8 years ago

hazcod commented 8 years ago

Original issue: https://github.com/rapid7/docker-logentries/issues/45

When using an orchestrator, it's difficult to know what application stack (or equivalent construct) a container belongs to if it has a UUID-style name, as is common in that use case. The image is kinda helpful, except when they're not, e.g., common database images. Docker engine now supports labels, which are accessible via the API and could be included in the stats/event output to help gather more useful context.

mcollina commented 8 years ago

@HazCod I'll be happy to review and merge a PR that add support for those.

hazcod commented 8 years ago

PR in docker-allcontainers ; https://github.com/mcollina/docker-allcontainers/pull/13

hazcod commented 8 years ago

Pull Request: https://github.com/mcollina/docker-loghose/pull/20