diff --git a/get/build.go b/get/build.go index 409e863..db9b0a1 100644 --- a/get/build.go +++ b/get/build.go @@ -88,7 +88,7 @@ func printBuild(builds []apps.Build, get *Cmd, out io.Writer, header bool) error } func pullImage(ctx context.Context, apiClient *api.Client, build *apps.Build) error { - cli, err := client.NewClientWithOpts(client.WithVersion(dockerAPIVersion)) + cli, err := client.NewClientWithOpts(client.WithVersion(dockerAPIVersion), client.FromEnv) if err != nil { return err }