Hello. I'm trying to use the docker images: https://hub.docker.com/r/gocd/gocd-server/ https://hub.docker.com/r/gocd/gocd-agent/
Starting the server works OK. Problem is with the agent. I would like to use the --link feature, but it seems broken. *Starting with this* docker run -ti --link <server name>:go-server gocd/gocd-agent just gives me: [Sun Feb 19 20:26:55 UTC 2017] using default settings from /etc/default/go-agent WARN: The environment variable GO_SERVER and GO_SERVER_PORT has been deprecated in favor of GO_SERVER_URL. Please set GO_SERVER_URL instead to a https url (https://example.com:8154/go) logFile Environment Variable= null Logging to go-agent-bootstrapper.log -serverUrl is not a valid url Usage: java -jar agent-bootstrapper.jar [options] Options: -help Print this help Default: false -rootCertFile The root certificate from the certificate chain of the GoCD server (in PEM format) * -serverUrl The GoCD server URL. Must begin with `https://`, and end with `/go` -sslVerificationMode The SSL verification mode. Default: NONE Possible Values: [FULL, NONE, NO_VERIFY_HOST] *Ok, well then. Lets try the GO_SERVER_URL instead:* docker run -ti -e GO_SERVER_URL=https://<ip>:32771/go gocd/gocd-agent *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 9 Starting Go Agent to connect to server go-server ... [Sun Feb 19 20:28:00 UTC 2017] using default settings from /etc/default/go-agent logFile Environment Variable= null Logging to go-agent-bootstrapper.log 0 [TouchLoopThread-2] INFO com.thoughtworks.go.agent.launcher.Lockfile - Using lock file: /var/lib/go-agent/.agent-bootstrapper.running 194 [main] ERROR com.thoughtworks.go.agent.launcher.ServerBinaryDownloader - Couldn't update admin/agent-launcher.jar. Sleeping for 1m. Error: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? *BOOOOOOOOOOOOOOOOOOM!* The docker server does not have a self signed SSL cert confed by default i guess? *How am I supposed to use the docker images?* -- 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]. For more options, visit https://groups.google.com/d/optout.
