I need to connect to docker cluster created with “Docker for AWS” template from my CI server to deploy services. I would like to avoid SSH’ing onto manager nodes and prefer to use remote docker api (docker cli commands executed from within CI server connecting to management port of one of swarm managers).
My understanding is that in order to do this I need to provide proper certs to my remote docker session so it is accepted by swarm managers. But I cannot find a way to obtain those certs from my swarm cluster - cannot locate files…
Any advice would be greatly appreciated.