Docker has a feature that allows you to set a CPU and RAM limit on a container. For example:
docker run busybox --cpuset="0,1" -m 4g
That would limit the container to cpu0 and cpu1 and 4 gigs of RAM.
Is there a way to configure this with the Discourse bootstrapping script? We have a big server but want to isolate each docker container using memory and cpu limits.