Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Golang SDK for swarm mode - swarmInit #388

Open
edesai opened this issue Feb 23, 2017 · 0 comments
Open

Golang SDK for swarm mode - swarmInit #388

edesai opened this issue Feb 23, 2017 · 0 comments

Comments

@edesai
Copy link

edesai commented Feb 23, 2017

I am trying to use golang SDK for Swarm Init as follows:

resp, err := cli.SwarmInit(context.Background(), swarm.InitRequest{ListenAddr: "0.0.0.0:2377",AdvertiseAddr:"x.x.x.x",})
fmt.Printf("got resp: %s, err: %s", resp, err)
I don't see the response returning the jointoken for workers. How can I get the token?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant