-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Attaching a data volume with user id 102 does not work but 1000 does. Update Readme? #25
Comments
Normally I wouldn't want to be on the bleeding edge of jenkins, but I'm trying to use the Docker Plugin to then have dynamic slaves. However, with Docker v1.2.0 I need to have at least jenkins 1.580, but 1.583 is the only tagged version greater than 1.580. (See: jenkinsci/docker-plugin#97) |
I should mention that if I do not attach the data volume it works fine. When I ran |
You are probably not running the docker container as the same user (-u 2014-10-09 18:15 GMT+02:00 Matt Smith notifications@github.com:
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen |
From the readme:
That is the owner of that volume https://github.com/mtscout6/jenkins-docker/blob/master/jenkins-data/Dockerfile#L5-L7 I should mention that that setup worked fine against 1.565. |
I finally found the problem. The uid for the jenkins user is not 102 it's 1000
Change uid from 102 -> 1000 and worked like a charm: https://github.com/mtscout6/jenkins-docker/blob/master/jenkins-data/Dockerfile#L5 Is this intentional or should docs get updated, or am I misunderstaning what 102 represents on the readme? |
I'm running into a similar error. Without volume -v, it works fine. However, when using volume, it hangs in this entry on the log file:
Any clues? |
Nevermind, it was just slow, after like 5 minutes it finally started. I wonder why though. |
Fixing #7 - Make group/user customizable via ARG/ENV
The make file I used here can be found at https://github.com/mtscout6/jenkins-docker
The text was updated successfully, but these errors were encountered: