calculate MaxContainers

Signed-off-by: James Myers <jmyers@pivotallabs.com>