if (minCores != null) {
double ratio = (double) minCores / (double) hostCores;
LOG.info("Cores: host {}, min {}, ratio {}", new Object[] { hostCores, minCores, ratio });
}
}
if (cpuShares != null) options.cpuShares(cpuShares);
// Memory
Integer memory = entity.getConfig(DOCKER_MEMORY);
if (memory == null) memory = getConfig(DOCKER_MEMORY);
if (memory != null) {