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
A log capture of all the docker events before, during, and after the issue.
2020/10/02 14:53:41 [ERR] agent: Check "service:xxxxxxxxxxxxxxxxx" failed to invoke: exec: "curl --noproxy '*' example.com": executable file not found in $PATH
Description of the problem:
I want to use health checks with Registrator and Consul, but when I add the env var SERVICE_CHECK_SCRIPT, Consul is unable to register the health check.
I have tried to change the command by this one :
It's really sad that a useful project like this is left in an abandoned state.
I made a Docker image for my personal use that solves this problem and works in swarm with overlay networks.
docker pull lettore/registrator:8.0.1-3.11, where 3.11 is the Alpine version used, it's also multi-arch.
Hopes this can be useful.
Hi there,
Docker version 18.09.7, build 2d0083d
v7
Consul v1.6.1
No
-internal=true -deregister=on-success consul-tls://consul:8501
Description of the problem:
I want to use health checks with Registrator and Consul, but when I add the env var
SERVICE_CHECK_SCRIPT
, Consul is unable to register the health check.I have tried to change the command by this one :
But I have this error message :
/usr/bin/curl exists in the Consul container :
The text was updated successfully, but these errors were encountered: