when I first looked at containerising foreman (before this current much more advanced thinking) the think that killed the puppetserver in a container was a CA and the files related to the CA being in the container on the firesystem, moving them outside the file system as they are only parsed at boot up made a huge difference, I think I stored them in mongo as a dirty hack