slowly getting there
diff --git a/Dockerfile b/Dockerfile
index dfd05df..bd775e1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,4 +7,6 @@
RUN echo deb http://pkg.jenkins-ci.org/debian binary/ >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y jenkins
-CMD exec su jenkins -c "java -jar /usr/share/jenkins/jenkins.war"
\ No newline at end of file
+VOLUME /var/lib/jenkins/home
+ENV JENKINS_HOME /var/lib/jenkins/home
+CMD java -jar /usr/share/jenkins/jenkins.war
\ No newline at end of file
diff --git a/README.md b/README.md
index 62a46d3..4116d8a 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,23 @@
# This is a WIP
-Will likely form the basis of the official jenkins-ci image. Still working on it.
\ No newline at end of file
+Will likely form the basis of the official jenkins-ci image. Still working on it.
+
+To run:
+
+```
+docker run -it -p 8080:8080 jenkins
+```
+
+To use a persistent volume
+
+```
+docker run -it -p 8080:8080 -v /your/home:/var/lib/jenkins/home jenkins
+```
+
+You can also specify that it will run under the jenkins user:
+
+```
+docker run -it -u jenkins -p 8080:8080 -v /your/home:/var/lib/jenkins/home jenkins
+```
+
+Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 102 normally)