diff --git a/pkg/image/image.go b/pkg/image/image.go index 88f058f..5ffc021 100644 --- a/pkg/image/image.go +++ b/pkg/image/image.go @@ -36,7 +36,7 @@ type imageInspectRaw struct { func ListAll() ([]Image, error) { var images []Image - output, err := exec.Command("container", "images", "list").Output() + output, err := exec.Command("container", "image", "list").Output() if err != nil { return nil, err } @@ -92,7 +92,7 @@ func GetDetails(name string) (ImageDetails, error) { } func inspect(name string) (string, error) { - output, err := exec.Command("container", "images", "inspect", name).Output() + output, err := exec.Command("container", "image", "inspect", name).Output() if err != nil { return "Error inspecting image", err }