- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-08-2022 12:17 PM
I want to specify a collection of images that have been labeled in the Dockerfile with "LABEL Environment=Development".
However, the docker API returns labels in JSON format.
Using the string wild cards, its easy to imagine...
But I want a colletion of images labeled "Environment=Development".
How do I do that?
09-13-2022 01:21 PM
Thanks Gary but I already know how to find and read the documentation. That's why I must query the community.
Rather than specifying the label, Environment=Development, the proper way to specify label, key:value, and of course you can use the wildcards. The documentation should be updated with a similar description. So for my case, Environment:Development, is the correct solution.
09-09-2022 07:25 AM
Helllo TommyHunt,
Have you tried using your label Environment=Development in the Labels section of the collection rule as a pattern to match?
See Pattern Matching here
09-13-2022 01:21 PM
Thanks Gary but I already know how to find and read the documentation. That's why I must query the community.
Rather than specifying the label, Environment=Development, the proper way to specify label, key:value, and of course you can use the wildcards. The documentation should be updated with a similar description. So for my case, Environment:Development, is the correct solution.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!