Hostname: O.s.cloud.commons.util.inetutils Cannot Determine Local

spring: cloud: inetutils: preferred-networks: - 192.168 - 10.0 Use code with caution. Solution 3: Use IP Addresses Instead of Hostnames

services: my-app: hostname: my-service network_mode: bridge # or custom network environment: - HOSTNAME=my-service spring: cloud: inetutils: preferred-networks: - 192