spring: + cloud: + inetutils: + ignoredInterfaces: + - docker0 + - veth.*+
From 22b52d9485fb0c10a6001e19b4a1ab48dbdbf6a5 Mon Sep 17 00:00:00 2001
From: Dave Syer
@@ -1100,6 +1101,23 @@ the provided `@LoadBalanced 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.*+