我正在使用`eureka docker container`,但它正在给出错误

问题描述 投票:0回答:1

我正在使用eureka容器,但遗憾的是它无法正常工作。泊坞窗,compose.yaml

configserver:

image: 1.2.3.4:1234/configserver
container_name: configserver
ports:
- 8888:8888
volumes:
- /tmp/logs:/tmp/logs
env_file:
 - ./docker.env

尤里卡:

container_name: eureka
ports:
- 8761:8080
volumes:
- /tmp/logs:/tmp/logs
env_file:
 - ./docker.env
image: netflixoss/eureka:1.3.1
restart: always
depends_on:
- configserver   

集装箱日志 -

WARN com.netflix.discovery.DiscoveryClient:1570 [localhost-startStop-1] [makeRemoteCall]无法从localhost获得响应:8080 / eureka / v2 / apps ERROR com.netflix.discovery.DiscoveryClient:1432 [localhost-startStop-1] [makeRemoteCall]无法联系任何eureka节点 - 可能是安全组问题? ERROR com.netflix.discovery.DiscoveryClient:1033 [localhost-startStop-1] [fetchRegistry] DiscoveryClient_EUREKA / 4ae83dcdde1a - 无法刷新其缓存! status = java.net.SocketTimeoutException:读取超时

enter image description here

docker dashboard netflix-eureka
1个回答
0
投票

我使用了不同的图像。而不是netflixoss/eureka:1.3.1我使用eureka。这个对我有用。

© www.soinside.com 2019 - 2024. All rights reserved.