Created
January 30, 2015 12:14
-
-
Save davidwong/cf0c0b5817b3094c2fc7 to your computer and use it in GitHub Desktop.
Fig YAML for backing up a Docker data volume container for Jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backup a data volume container for Jenkins | |
backup: | |
image: busybox | |
command: tar cvf /backup/jenkins-backup.tar /var/jenkins_home | |
volumes: | |
- .:/backup | |
volumes_from: | |
- jenkins-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment