Unable to start Node-RED docker container


Hi everyone, I have Docker running on my NAS. What I am trying to do is creating a Node-RED docker to communicate with my HomeAssistant (running in another container).

I get what seem to be permission errors after starting the container.

Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js'

I am using my PUID and PGID that I use for any other container, but only Node-RED is giving me problems.

docker run -d \
--name=node-red \
--restart=always \
-p 1880:1880 \
-u 1027:100 \
-v /volume1/docker/node-red/data \

Do you have any advise on how to fix this?