java.io.FileNotFoundException: /var/keys/credentials-report.env (Operation not permitted)
With an initializr-based project, if you are having trouble getting started when running the docker-compose:up
command where various security files are not being found in docker, e.g you may see error messages similar to the following:
Caused by: java.io.FileNotFoundException: /var/keys/credentials-report.env (Operation not permitted)
Caused by: java.io.FileNotFoundException: /var/keys/file-encryption.jks (Operation not permitted)
This is caused by your security
folder not correctly mounting to your docker instance. The most likely reason for this is that you have generated your project in a location that is not accessible by docker based on permissions. To remediate, try generating your project in a directory or location that is accessible by your Docker process (e.g. ~/Desktop/test).
Comments
0 comments
Please sign in to leave a comment.