Docker Volumes - Backup & Restore Jenkins Configuration

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Tutorial to demonstrate the usage of Docker volumes for sharing data across containers and also, to back up & restore Jenkins configuration from a backed-up docker managed volume.

ความคิดเห็น • 2

  • @WdnUlik2no
    @WdnUlik2no ปีที่แล้ว +1

    Thank you for this. I have hundreds of hours of work setting up automation jobs in Jenkins. My biggest fear is something happens and I lose ALL my work.
    Quick question: I didn't use alpine when I started my Jenkins container for the first time. Do I still need to use "alpine" when backing up my volume?

    • @crudsinfotechng8127
      @crudsinfotechng8127  ปีที่แล้ว

      The first exercise is just to demonstrate how bind mounting of volumes work and I have used alpine for it. For Jenkins, you do not need alpine and all you need to do is launch jenkins image and mount container folder /var/jenkins_home to a folder of your choice (either named volume or bind mount any folder which is available across your cluster - NFS/SAN/Cloud Storage Solution or whatever central storage mechanism that you have).
      Hope this clarifies.