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 \
nodered/node-red-docker:v10

Do you have any advise on how to fix this?

Thanks

HI @AlexKalopsia , did you get this solved? I just encountered the same issue. thanks.

The volume mapping looks wrong.
Normally you would say the actual directory colon container directory like

/srv/docker/node-red/data:/data

More details can be found at https://docs.docker.com/storage/