// InspectImage inspect the specified image (can be a name, an id or a digest) // with the specified client. func InspectImage(ctx context.Context, client client.ImageAPIClient, image string) (types.ImageInspect, error) { imageInspect, _, err := client.ImageInspectWithRaw(ctx, image, false) return imageInspect, err }