Browserless fails to create lockfile due to permissions
Hello everybody, I'm just testing railway, and so far I'm happy.
However, I tried to attach a volume to one of my working services, and after configuring it properly to use the path it is raising a permissions error.
The docker image is browserless, and the way I have it configured is with this environments:
6 Replies
Project ID:
a72d8bdb-382a-4b56-8b23-3b63f2858486
a72d8bdb-382a-4b56-8b23-3b63f2858486
the volumes are mounted as root and some docker images are not running themselves as root, to fix this you can try to set a service variable
RAILWAY_RUN_UID
to 0
That will force the container to run as root? or will change the permimsions of the volume?
it will run the image as UID 0 (the root user)
Ok, will give that a try, thanks