Hiya
I am trying to setup permanent storage for my Grafana container by creating a custom volume and mount it to /var/lib/grafana
Everytime I try, I get a '/var/lib/grafana' is not writable along with a Permission denied
I tried setting the initial.uid and initial.gid to 472 but still nothing
Also tried with security.shifted=true
Mount the volume to a different path in the container, change the permissions of the mount point int the running container, remount the volume to the correct location.
You can add mount options to you device raw.mount.options.
Modify the OCI init file to correct the permissions.