You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my understanding, the owner in the container and on the host have to be the same. Since the image nginx user is 100:101, that's also what I applied on the host. I'm not sure if it's the best approach though.
Hello,
I try to figure why I can't use Shaarli, because I have insufficient write permissions on folders who have them normally.
Docker command :
docker run -d -p 8000:80 -v /docker/shaarli/cache:/var/www/shaarli/cache -v /docker/shaarli/data:/var/www/shaarli/data shaarli/shaarli
Folder permissions :
drwxr-xr-x 4 docker users 4096 août 7 08:26 shaarli
Subfolders :
drwxr-xr-x 2 docker users 4096 août 7 08:26 cache
drwxr-xr-x 2 docker users 4096 août 7 08:26 data
docker
folder is owned byroot
user, but I don't have issue with other containers subfolders (all owned bydocker
user)I added ENV variables (from OpenMediaVault GUI) :
PUID=1001
PGID=100
(where
id docker
=uid=1001(docker) gid=100(users)
)But I always have this error on Shaarli homepage :
I saw that, inside container,
cache
anddata
folders are owned byroot
user, so Ichown
folders to hostroot
user, without success.Do I forget something ?
The text was updated successfully, but these errors were encountered: