// RemoveContainer removes the container.
RemoveContainer removes the container.
// RemoveContainer removes the container .
func (p *PrivilegedRuntime) RemoveContainer(containerID string) error {
	if containerID == "" {
		return fmt.Errorf("containerID cannot be empty")
	}
	request := &kubeapi.RemoveContainerRequest{
		ContainerId: containerID,
	}
	r, err := runtimeClient.RemoveContainer(context.Background(), request)
	if err != nil {
		return err
	}
	logrus.Debugf("RemoveContainerResponse: %v", r)
	fmt.Println(containerID)
	return nil
}
func ( p * PrivilegedRuntime ) RemoveContainer ( containerID string ) error { if containerID == " " { return fmt . Errorf ( " " ) } request := & kubeapi . RemoveContainerRequest { ContainerId : containerID , } r , err := runtimeClient . RemoveContainer ( context . Background ( ) , request ) if err != nil { return err } logrus . Debugf ( " " , r ) fmt . Println ( containerID ) return nil }
RemoveContainer removes the container.
RemoveContainer removes the container .