mirror of
https://github.com/umputun/reproxy.git
synced 2024-09-11 08:55:25 +03:00
container named rerpoxy excluded from discovery
This commit is contained in:
parent
1606e56d82
commit
de4a6eca64
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user