Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins image volume permission issue #1

Open
markusamuel opened this issue Mar 15, 2021 · 2 comments
Open

Jenkins image volume permission issue #1

markusamuel opened this issue Mar 15, 2021 · 2 comments

Comments

@markusamuel
Copy link

markusamuel commented Mar 15, 2021

Hi Peter,
After firing up docker compose, the jenkins container is showing this error:

touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission denied
Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?

System info:

Windows 10 pro
Intel core i7-8650U CPU @1.90 GHz
Docker 20.10.2
Docker compose 1.27.4

@jvalley19
Copy link

Did you get past this? I am facing the same issue

@wheredidfranciscogo
Copy link

Hi 👋🏻 @markusamuel @jvalley19
I fixed this by looking into Docker/Preferences/Resources/File Sharing
There you'll see the directories that can be bind mounted into Docker containers, choose one of the present ones and update your docker-compose.yml like /var/Folders/jenkins_home/

Screen Shot 2022-02-19 at 9 15 00 pm

Hope that helps to whoever read this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants