mirror of
https://github.com/umputun/reproxy.git
synced 2026-06-15 19:14:07 +02:00
container named rerpoxy excluded from discovery
This commit is contained in:
@@ -218,7 +218,7 @@ func (d *Docker) listContainers() (res []containerInfo, err error) {
|
||||
continue
|
||||
}
|
||||
containerName := strings.TrimPrefix(c.Names[0], "/")
|
||||
if contains(containerName, d.Excludes) {
|
||||
if contains(containerName, d.Excludes) || strings.EqualFold(containerName, "reproxy") {
|
||||
log.Printf("[DEBUG] container %s excluded", containerName)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user