code: func validateResources(hc *container.HostConfig, si *sysinfo.SysInfo) error {
  	// We may not be passed a host config, such as in the case of docker commit
  	if hc == nil {
  		return nil
  	}
  	if hc.Resources.CPURealtimePeriod != 0 {
  		return fmt.Errorf("Windows does not support CPU real-time period")
  	}
  	if hc.Resources.CPURealtimeRuntime != 0 {
  		return fmt.Errorf("Windows does not support CPU real-time runtime")
  	}
  	return nil
  }
docs: // validateResources performs platform specific validation of the resource settings