Try either https://github.com/kintesh/containerise (unmaintained), or a maintained fork of it, https://github.com/max-dw-i/container-redirect -- both have a settings-setup that mimics exactly a temporary container for every site (i.e. those that are not explicitly defined in custom rules).