code: func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.Interface, nodeConfig NodeConfig, failSwapOn bool, devicePluginEnabled bool, recorder record.EventRecorder) (ContainerManager, error) {
  	var capacity = v1.ResourceList{}
  	// It is safe to invoke `MachineInfo` on cAdvisor before logically initializing cAdvisor here because
  	// machine info is computed and cached once as part of cAdvisor object creation.
  	// But `RootFsInfo` and `ImagesFsInfo` are not available at this moment so they will be called later during manager starts
  	machineInfo, err := cadvisorInterface.MachineInfo()
  	if err != nil {
  		return nil, err
  	}
  	capacity = cadvisor.CapacityFromMachineInfo(machineInfo)
  
  	return &containerManagerImpl{
  		capacity:          capacity,
  		nodeConfig:        nodeConfig,
  		cadvisorInterface: cadvisorInterface,
  	}, nil
  }
docs: // NewContainerManager creates windows container manager.