// RemoveImage Removes the given Docker image
RemoveImage Removes the given Docker image
// RemoveImage Removes the given Docker image
func (s *ImageService) RemoveImage(ctx context.Context, req *runtimeapi.RemoveImageRequest) (*runtimeapi.RemoveImageResponse, error) {
	_, err := s.client.ImageRemove(ctx, req.GetImage().GetImage(), types.ImageRemoveOptions{PruneChildren: true})
	if err != nil {
		return nil, err
	}
	return &runtimeapi.RemoveImageResponse{}, nil
}
func ( s * ImageService ) RemoveImage ( ctx context . Context , req * runtimeapi . RemoveImageRequest ) ( * runtimeapi . RemoveImageResponse , error ) { _ , err := s . client . ImageRemove ( ctx , req . GetImage ( ) . GetImage ( ) , types . ImageRemoveOptions { PruneChildren : true } ) if err != nil { return nil , err } return & runtimeapi . RemoveImageResponse { } , nil }
RemoveImage Removes the given Docker image
RemoveImage Removes the given Docker image