While exploring docker-client api (java) what certificates are exactly required for setting up connection to the docker daemon running on a vm.
The code which I found online :
{
// Create a client based on DOCKER_HOST and DOCKER_CERT_PATH env vars
final DockerClient docker = DefaultDockerClient.fromEnv().build();
// Pull an image
docker.pull("busybox");
}
The link to above example is available at : https://github.com/spotify/docker-client
What I intend to do is access docker-daemon running on my master node(deployed through magnum api) and push my java applications docker-image onto the registry so that I can create pods on my cluster using these images.
I am not sure what more needs to be done as I am new to this.