From 1699761874fa86e1893c36b5a0bbcc1269b3cccc Mon Sep 17 00:00:00 2001 From: "Arvid E. Picciani" Date: Tue, 27 Jun 2017 10:59:04 +0200 Subject: [PATCH] Do not fail when no docker registry auth is available this amends the behaviour introduced with #2651 and allows pulling public images when docker.auth.helper is set --- client/driver/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/driver/docker.go b/client/driver/docker.go index b28c1a606c8..1c9d419e5bc 100644 --- a/client/driver/docker.go +++ b/client/driver/docker.go @@ -1016,7 +1016,7 @@ func (d *DockerDriver) createImage(driverConfig *DockerDriverConfig, client *doc func (d *DockerDriver) pullImage(driverConfig *DockerDriverConfig, client *docker.Client, repo, tag string) (id string, err error) { authOptions, err := d.resolveRegistryAuthentication(driverConfig, repo) if err != nil { - return "", fmt.Errorf("Failed to find docker auth for repo %q: %v", repo, err) + d.logger.Printf("[WARN] Failed to find docker auth for repo %q: %v", repo, err) } if authIsEmpty(authOptions) {