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
Currently we do not have a provision to persist the data. Container gone, data gone.
I want to keep my data storage no matter if we delete the container, data should still be there.
Reference: Please take a look on jenkins where they exposed the path which can be used to mount on your volume. If user deletes the container, data will still be there.
How to use jenkins image:
docker run -p 8080:8080 -p 50000:50000 jenkins
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):
docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins
The text was updated successfully, but these errors were encountered:
ochanig33
changed the title
Add volume path for attaching the volume to the container to have data persistence.
Expose volume data path for attaching a volume to the container to have data persistence.
May 7, 2019
Currently we do not have a provision to persist the data. Container gone, data gone.
I want to keep my data storage no matter if we delete the container, data should still be there.
Reference: Please take a look on jenkins where they exposed the path which can be used to mount on your volume. If user deletes the container, data will still be there.
How to use jenkins image:
docker run -p 8080:8080 -p 50000:50000 jenkins
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):
docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins
Link: https://hub.docker.com/_/jenkins
The text was updated successfully, but these errors were encountered: