You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ docker run -p 8080:8080 jenkins
18
18
This will store the workspace in /var/jenkins_home. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that a persistent volume (recommended):
19
19
20
20
```
21
-
docker run --name myjenkins -p 8080:8080 -v /var/jenkins_home jenkins
21
+
docker run --name myjenkins -p 8080:8080 -v /your/home:/var/jenkins_home jenkins
22
22
```
23
23
24
24
The volume for the "myjenkins" named container will then be persistent.
0 commit comments