registrator icon indicating copy to clipboard operation
registrator copied to clipboard

add new param (--filter-regexp),filter the containers by container name

Open mathli opened this issue 7 years ago • 2 comments

in the docker host,many containers have not set label.we must filter the containers which ones we want.

mathli avatar Jun 30 '17 08:06 mathli

Why not just add the label when running the containers? Most, if not all, schedulers support this.

josegonzalez avatar Jun 16 '18 16:06 josegonzalez

@josegonzalez what do you mean by adding the label? I found this feature very useful - I've configured docker-compose to deploy 2 consul servers simulating 2 dc. I need 2 registrators to register some services to dc1, and some to dc2. It's very helpful to filter services by some prefix/suffix

adriankrupa avatar Jan 31 '19 13:01 adriankrupa