registrator
registrator copied to clipboard
add new param (--filter-regexp),filter the containers by container name
in the docker host,many containers have not set label.we must filter the containers which ones we want.
Why not just add the label when running the containers? Most, if not all, schedulers support this.
@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