signalfx / maestro-ng

Orchestration of Docker-based, multi-host environments
https://signalfx.com
Apache License 2.0
685 stars 83 forks source link

Support for container label #202

Closed lvjp closed 5 years ago

lvjp commented 5 years ago

It would be great to be able to add label to container like you can do with the command docker run --label "key=value".

This can permit updating third party tools based on label of launched container. For example traefik implement a dynamic reverse proxy based on label...

The used docker-py can accept label within the create_container member function called at tasks.py:220.

mpetazzoni commented 5 years ago

This should now be available in 0.7.0!

lvjp commented 5 years ago

Thank you for your reactivity. It's now in our test environment and will be used soon production.