Soft and hard memory limits are worth considering too, regardless of container method.