Hello,

I'm kind of new to Docker, but not new to GoCD. I'm trying to setup elastic 
agents with docker-swarm-elastic-agent-plugin.

I want two nodes. One is for gocd server, one (or actually more) with 
docker swarm installed.

When setting up a cluster profile, there is a field called "Docker URI". 
The documentation says the following:

```
Docker swarm cluster uri.
If your Go Server is running on local machine then use(for mac and linux) — 
unix:///var/run/docker.sock
```

What exactly is the "Docker swarm cluster uri"?

When I initialize swarm, it says something like:
```
To add a worker to this swarm, run the following command:

    docker swarm join \
    --token 
SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx
 
\
    172.17.0.2:2377
```

Should I use tcp://172.17.0.2:2377 as the Docker URI? I tried. The server 
logs say "tcp protocol is not supported".

Maybe I'm completely missing the point though. I couldn't find any related 
information.

Could you help?

-- 
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/4217a178-25d7-476e-9f6c-f34f9336f29c%40googlegroups.com.

Reply via email to