Skip to content
New issue

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

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

Already on GitHub? # to your account

Run CVMFS in a seperate container #617

Open
bgruening opened this issue Jan 14, 2025 · 0 comments
Open

Run CVMFS in a seperate container #617

bgruening opened this issue Jan 14, 2025 · 0 comments

Comments

@bgruening
Copy link
Owner

bgruening commented Jan 14, 2025

Currently, we need to run the Galaxy Docker image with --privilege to get CVMFS integration.

If we could reuse a the upstream CVMFS container and bind mount a deployment of this into the Galaxy Docker image we don't need priv mode.

docker pull registry.cern.ch/cvmfs/service:latest
docker run --rm -d \
  -e CVMFS_CLIENT_PROFILE=single \
  -e CVMFS_REPOSITORIES=sft.cern.ch \
  --cap-add SYS_ADMIN \
  --device /dev/fuse \
  --volume /cvmfs:/cvmfs:shared \
  --name cvmfs-service registry.cern.ch/cvmfs/service:latest
docker run -v /cvmfs:/cvmfs ... quay.io/bgruening/galaxy

Such a setting would also be useful for other use-cases I think.

Thanks to @natefoo for the idea!

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

No branches or pull requests

1 participant