Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cvmfs-xyz: share cache between containers #11

Open
sbinet opened this issue Oct 21, 2015 · 1 comment
Open

cvmfs-xyz: share cache between containers #11

sbinet opened this issue Oct 21, 2015 · 1 comment
Assignees

Comments

@sbinet
Copy link
Contributor

sbinet commented Oct 21, 2015

currently, 2 cvmfs-atlas containers won't share their cache even if they run the same exact command atlas read-gen-event.py.

one way to fix this is to put a squid container in front of the cvmfs-xyz containers.

another way is to VOLUME-mount CVMFS_CACHE_BASE=/var/scratch/cvmfs in all cvmfs-xyz images and provide a data-only container exporting that VOLUME.

AFAICT, all the possible solutions will require a 2-container (or pod-like) setup.

@sbinet sbinet self-assigned this Oct 21, 2015
@lukasheinrich
Copy link

does this work perhaps? seems like at least for NFS shares specifying the VOLUME with the ':shared' postfix works

moby/moby#4213

can't test right now since hepsw/cvmfs-atlas:latest is hangint while trying to mount :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants