j-reher / bossdocker

Docker container to run BOSS in a development environment
GNU General Public License v3.0
0 stars 0 forks source link

Test cache volume mounted by two containers #107

Open j-reher opened 2 years ago

j-reher commented 2 years ago

If at some point the container should be able to run on a batch queue, it would be easiest for all running containers to share a cache. If not, they'd have to run without a mounted cache, which seems like a waste of resources.

Can CVMFS handle multiple instances writing to the same cache? If not, what can I do? Images with larger prefilled caches for batch running?

j-reher commented 2 years ago

This is where an external CVMFS comes in handy even with just one container! Run a CVMFS-container to provide the volume, then use have images (possibly without cvmfs) that mount the cvmfs dir readonly via docker.