Bug 494776: Don't set auth credentials for daemon's default registry.

When no registry account has been set, commands are expected to run
against the Docker daemon's default registry in an unauthenticated
manner. This removes support for matching the daemon's default registry
with the first auth entry in any 'config.json' file that's discovered.

Change-Id: I85cd97b5855bab9938ed85a139c118836dfee56b
Reviewed-on: https://git.eclipse.org/r/73836
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerClientFactory.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerClientFactory.java
index 8415aeb..e46742b 100644
--- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerClientFactory.java
+++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerClientFactory.java
@@ -91,12 +91,6 @@
 
 		if (registryAccount != null) {
 			builder.authConfig(buildAuthentication(registryAccount));
-		} else {
-			try {
-				builder.authConfig(AuthConfig.fromDockerConfig().build());
-			} catch (Exception e) {
-				// AuthConfig can't be found, continue
-			}
 		}
 		return builder.build();
 	}