You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of docker are you running?
Docker version 17.06.2-ce, build cec0b72
What version of registrator are you running?
gliderlabs/registrator:latest
Did you build a custom version of registrator? If so, what is that image?
No
What is the exact command you are running registrator with?
Given below
What is the exact command you are running your container with?
Given below
A log capture of all the docker events before, during, and after the issue.
Given below
If relevant, Dockerfile for application that is having issues.
Given below
Description of the problem:
I've searched through several SO posts and the documentation but couldn't find anything related to my problem. I am unable to prevent registrator to connect the consul client prematurely. I have a cluster of e.g. 3 consul servers and I want to have 1 consul client + 1 registrator running in every container. They are started up in the same time with docker compose but unfortunately the registrator tries to pull information from the consul client before it joins the cluster so the consul client returns Internal Server Error (no cluster leader). The registrator exists instantly after the error received.
-retry-attempts=0: Max retry attempts to establish a connection with the backend. Use -1 for infinite retries
-retry-interval=2000: Interval (in millisecond) between retry-attempts.
Docker version 17.06.2-ce, build cec0b72
gliderlabs/registrator:latest
No
Given below
Given below
Given below
Dockerfile
for application that is having issues.Given below
Description of the problem:
I've searched through several SO posts and the documentation but couldn't find anything related to my problem. I am unable to prevent registrator to connect the consul client prematurely. I have a cluster of e.g. 3 consul servers and I want to have 1 consul client + 1 registrator running in every container. They are started up in the same time with docker compose but unfortunately the registrator tries to pull information from the consul client before it joins the cluster so the consul client returns Internal Server Error (no cluster leader). The registrator exists instantly after the error received.
Here is my docker-compose.yml file:
Here are the logs:
You can note that registrator exists right after it receives internal server error from the local consul client. Any ideas how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: