On this page: Collabora online - Nextcloud the command for starting the Collabora Docker image seems to be out of date.
The command (which occurs several times in different forms) looks like this:
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.nextcloud\\.com' --restart always --cap-add MKNOD collabora/code
The problem is with this part:
-e 'domain=cloud\\.nextcloud\\.com'
According to the documentation at: CODE Docker image — SDK https://sdk.collaboraonline.com/ documentation for current versions of NextCloud, this should instead be:
-e 'aliasgroup1=https://cloud\\.nextcloud\\.com'
When I use the previous form, the docker image gives an error message:
WARNING: cloud\\.nextcloud\\.com seems to be regex, If you want to use regex please use aliasgroupX env variable where X=1,2,3...
and keeps restarting. With the new form, the container starts up fine.