maybe you should switch from double backslash to the single one?
using single quote might not require backslash at all (because single quotes take the string “as is”)
I recommend to take a look inside of the container with docker inspect
in my installation which work perfect with two Docker Nextcloud 23 instances with fresh Collabora (“collabora/code:21.11.2.4.1”) I see
"Env": [
"domain=first.cloud.com|second.cloud.com",
I can’t share the right docker run
syntax as my system utilizes docker-compose
and .env files (highly recommend this approach over plain docker run
)