You may have fundamental misunderstandings of various key concepts, including but not limited to users, groups, filesystem permissions and ownerships, and docker basic principles. This can be aggravated by viewing online videos and howtos, and parroting what you find there into your system without really understanding what it is you are actually doing. Most if not all of those videos and howtos are making silent assumptions that these basic concepts are already part of your experience base. Are they?
We're here to help, but to get the best start we need how much of what you are going to need to know you already know.
I do know my knowledge is limited and I'm learning as I go and the fact that I follow the videos but it's not going as smooth as their videos complicates me...
My docker related items are installed on my external direct of my RPi4 with the directory of -> /srv/dev-disk-by-label-Data/appdata which is the share folder specific for my docker. This share folder on OMV gui is set to the permission of everyone have read/write access
Going through the folder on my mac shows portainer_data folder under volumes and also docker containers / images under the folder. (not changing anything just looking around. But to look around it it required me to change the folder permission to 777 (i know 777 is not secure at all so I changed to 755), which makes my first problem because it seems to also cause the web gui access of portainer to not work and I assume that OMV should provide enough permission at an automatic level that allows basic stuff such as portainer to work?
This leads to the problem of when I install other dockers such as Letsencrypt, it seems to not be able to read it's own files or internally communicated with itself without modifying the folder permission to 755. I gave a pgid=100, which is the user group access for the docker, which I assume is enough and should not require root level access?
My question is why when portainer pulls a new image and creating the docker's own files (/config) would change the permission. I know that some "software" would lock or hide files hoping users to not be able to alter and corrupt the "software". But my case is causing my docker to not be able to work even at fresh install like my Mariadb that I'm still working on..
">
">
">