code: func MilliCPUToShares(milliCPU int64) uint64 {
  	if milliCPU == 0 {
  		// Docker converts zero milliCPU to unset, which maps to kernel default
  		// for unset: 1024. Return 2 here to really match kernel default for
  		// zero milliCPU.
  		return MinShares
  	}
  	// Conceptually (milliCPU / milliCPUToCPU) * sharesPerCPU, but factored to improve rounding.
  	shares := (milliCPU * SharesPerCPU) / MilliCPUToCPU
  	if shares < MinShares {
  		return MinShares
  	}
  	return uint64(shares)
  }
docs: // MilliCPUToShares converts the milliCPU to CFS shares.