pub fn with_container_manager<R, F: FnOnce(&mut ContainerManager) -> R>( f: F, ) -> Result<R, KernelError>