Docker container metadata as a Cachet component data!
You can manually assign containers by name to a cachet component in the docker2cachet.toml
file. just make a new entry in the [containers]
section.
More on toml can be found here.
You may apply labels to your containers via compose in your docker-compose.yml
or directly on the docker commandline, or in your Dockerfile
- org.cachet.id
- org.cachet.name
- org.cachet.description
- org.cachet.link
all labels are optional but id superceedes the rest.
Just install docker[tls]
and our use of docker.from_env()
will just work! Thanks docker team for making this way better since v1.