Hello,

I see. You're creating your own image.

The docker image provided by GoCD (on DockerHub) [does 
this](https://github.com/gocd/docker-gocd-agent-dind/blob/fd70ef0eb4c2ff750ad297b1810b08bd31f11229/docker-entrypoint.sh#L26-L36)
 to populate the `autoregister.properties` file correctly, based on environment 
variables passed in by the plugin when it wants to start an elastic agent. Do 
you do that in your image too? The values passed in should be used. That's how 
the server / plugin knows that the agent it was waiting for has come up.

Cheers,  
Aravind

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/m2eel9xt9l.fsf%40arvindsv.com.

Reply via email to