monocker icon indicating copy to clipboard operation
monocker copied to clipboard

LABEL_ENABLE / monocker.enable Not Working

Open jimmybrancaccio opened this issue 2 years ago • 1 comments

I've added the label monocker.enable=false to two containers however I am still getting notifications regarding them. I have not manually set the LABEL_ENABLE environment variable so it should be defaulting to false.

Of note I am using Docker Swarm so I am not sure if this makes a difference. If any other information is needed to troubleshoot this please don't hesitate to ask 😄

jimmybrancaccio avatar Jul 17 '23 23:07 jimmybrancaccio

I believe you should include the LABEL_ENABLE: 'true' in the monocker environment variable as it includes/excludes the labeled/not labeled containers. Otherwise, if set to false as defaulted, then all containers will be monitored regardless of their labelling

image

tamimology avatar Oct 25 '23 08:10 tamimology

I believe you should include the LABEL_ENABLE: 'true' in the monocker environment variable as it includes/excludes the labeled/not labeled containers. Otherwise, if set to false as defaulted, then all containers will be monitored regardless of their labelling

image

Yes, you have to enable labels in the minocker container before it looks for them in other containers.

petersem avatar May 13 '24 19:05 petersem