标签:docker div mon tst cloud 情况 str ipad spec
docker network rm 6edffe0923b8 docker inspect 容器ID | grep IPAddress docker network ls 查看网络情况 ROUTE -p add 172.17.0.0 mask 255.255.0.0 192.168.102.129 docker inspect shop-eureka | grep IPAddress https://www.jianshu.com/p/5ad8317961b7 https://blog.csdn.net/asleepysheep/article/details/82260152 instance: prefer-ip-address: true instance-id: ${spring.application.name}:${spring.cloud.client.ip-address}:${server.port} 1、项目pom.xml添加如下信息: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-commons</artifactId> </dependency> 2、修改bootstrap.yml配置 eureka: instance: prefer-ip-address: true instance-id: ${spring.application.name}:${spring.cloud.client.ip-address}:${server.port}
标签:docker div mon tst cloud 情况 str ipad spec
原文地址:https://www.cnblogs.com/linjiqin/p/11530749.html