ZhangNing10 commented on issue #7946:
URL: 
https://github.com/apache/incubator-devlake/issues/7946#issuecomment-2312143798

   hi @amokkapati , maybe you can try below solutions to see which solution can 
solve your issue
   1. use root user
   "containerDefinitions": [
       {
           "name": "grafana",
           "image": "grafana/grafana",
           "user": "root",
           ...
       }
   ]
   
   2. change the host directory permission
   "volumes": [
       {
           "name": "grafana-data",
           "host": {
               "sourcePath": "/path/to/host/directory"
           }
       }
   ],
   "containerDefinitions": [
       {
           "name": "grafana",
           "image": "grafana/grafana",
           "mountPoints": [
               {
                   "sourceVolume": "grafana-data",
                   "containerPath": "/var/lib/grafana"
               }
           ],
           ...
       }
   ]
   Then ensure that the /path/to/host/directory has the correct permissions set:
   sudo chown -R 472:472 /path/to/host/directory
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to