The free (CODE) Collabora image has a hardcoded limit of concurrent users and concurrently opened documents. Collabora Document Limitation by Purpose (10Docs/20Connections)
So it’s probable that this hardcoded limit will be more important than apt-get vs docker.
The docker image should be easier to setup than installing and configuring everything yourself.