 -	ctx, cancel := context.WithTimeout(context.Background(), r.requestTimeout)
 -	defer cancel()
 -	listResp, err := r.apisvc.ListImages(ctx, &rktapi.ListImagesRequest{})
-+	commandLine := []string{"rkt", "image", "list", "--format=json"}
++	commandLine := []string{r.config.Path, "image", "list", "--format=json"}
 +	cmd := exec.Command(commandLine[0], commandLine[1:]...)
 +	b, err := cmd.Output()
  	if err != nil {

 			Size:     image.Size,
 		}
 	}
diff --git a/pkg/kubelet/rkt/rkt_test.go b/pkg/kubelet/rkt/rkt_test.go
index 16c6617..dfcea20 100644
--- a/pkg/kubelet/rkt/rkt_test.go

From 50dacd9712b77efc0b69bcd341b1a8349903b41b Mon Sep 17 00:00:00 2001
From: JulienBalestra <julien.balestra@gmail.com>
Date: Wed, 30 Aug 2017 12:19:37 +0200
Subject: [PATCH] rkt image list

---
 pkg/kubelet/rkt/image.go    | 38 ++++++++++++++----
 pkg/kubelet/rkt/rkt_test.go | 96 ---------------------------------------------
 2 files changed, 30 insertions(+), 104 deletions(-)

diff --git a/pkg/kubelet/rkt/image.go b/pkg/kubelet/rkt/image.go
index 3a1687b..626bdb6 100644
--- a/pkg/kubelet/rkt/image.go
+++ b/pkg/kubelet/rkt/image.go
@@ -37,6 +37,7 @@ import (
