spring: + cloud: + inetutils: + ignoredInterfaces: + - docker0 + - veth.*+
diff --git a/spring-cloud.html b/spring-cloud.html index 5c1198f..290bb01 100644 --- a/spring-cloud.html +++ b/spring-cloud.html @@ -435,6 +435,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
Qualifier:
+Sometimes it is useful to ignore certain named network interfaces so they can be excluded from Service Discovery registration (eg. running in a Docker container). A list of regular expressions can be set that will cause the desired network interfaces to be ignored. The following configuration will ignore the "docker0" interface and all interfaces that start with "veth".
+spring: + cloud: + inetutils: + ignoredInterfaces: + - docker0 + - veth.*+