Look at the config files in site-data/template-instances. This is where the container is set for the Document Library components.
For completeness, you'll also need to update the containerId setting in the .get.html.ftl files, as well as the defaults being set in the client-side JavaScript files, hoever these two steps shouldn't be necessary.
You might find some other places where "documentLibrary" is unintentionally hard-coded, or we haven't yet implemented a dynamic value throughout the code. Easiest way to is do case-sensitive search for "documentLibrary" and change all those that look like they're referring to a "container".
Thanks,
Mike