Collabora CODE built in vs. docker

I’ve got Collabra working in Nextcloud using the built in server. Is there a benefit to using a separate container in docker?