Skip to main content
1 of 3
user54
  • 583
  • 1
  • 4
  • 16

The best way to share volume with config data between multiple Docker containers

I have Docker image which contains config files of VirtualBox and I want to use this image for running multiple containers in parallel.

Config files of VM are being stored on host OS, however, I am afraid of issues with config data of VMs which may occur because of parallel accessing by multiple containers. All containers will be started by Jenkins automatically.

Therefore, could you please tell what is the best way to share data between containers to avoid data corruption because of parallel usage?

user54
  • 583
  • 1
  • 4
  • 16