fix #25 force jenkins user id
diff --git a/Dockerfile b/Dockerfile
index bf18942..00b6ecd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,10 @@
# use it to bundle additional plugins or config file with your custom jenkins Docker image.
RUN mkdir -p /usr/share/jenkins/ref/init.groovy.d
-RUN useradd -d /home/jenkins -m -s /bin/bash jenkins
+# Jenkins is ran with user `jenkins`, uid = 1000
+# If you bind mount a volume from host/vloume from a data container,
+# ensure you use same uid
+RUN useradd -d /home/jenkins -m -u 1000 -s /bin/bash jenkins
COPY init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-angent-port.groovy
diff --git a/README.md b/README.md
index bd9dbdf..62a239f 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@
```
This will store the jenkins data in /your/home on the host.
-Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 102 normally - or use -u root).
+Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 1000).
You can also use a volume container: