// RemoveImage removes the specified image (can be a name, an id or a digest) // from the daemon store with the specified client. func RemoveImage(ctx context.Context, client client.ImageAPIClient, image string) error { _, err := client.ImageRemove(ctx, image, types.ImageRemoveOptions{}) return err }