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

Idea: Providing our stack within a docker/singularity container #4

Open
mboisson opened this issue May 1, 2020 · 8 comments
Open
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mboisson
Copy link
Member

mboisson commented May 1, 2020

Idea suggested by @preney

@mboisson mboisson changed the title Providing our stack within a docker/singularity container Idea: Providing our stack within a docker/singularity container May 1, 2020
@mboisson
Copy link
Member Author

mboisson commented May 1, 2020

@rptaylor may have some insight on this.

@mboisson mboisson added enhancement New feature or request help wanted Extra attention is needed labels May 5, 2020
@rptaylor
Copy link
Contributor

rptaylor commented May 7, 2020

There are various ways to mount CVMFS repos as an unprivileged user.
Could try e.g. https://github.com/cvmfs-contrib/cvmfsexec
So there should be some options for doing this in a container.
Some more info: https://indico.cern.ch/event/813800/contributions/3830191/attachments/2031830/3401805/PreGDBCvmfsexec20200504.pdf

@rptaylor
Copy link
Contributor

rptaylor commented May 7, 2020

That being said, to the maximum extent possible it is better to set up CVMFS on the host outside the container, and mount the repos into the container when you start it, so that the cache can be shared and persisted. Starting up an empty CVMFS cache inside your container for a private CVMFS client in the container is not very efficient.

Possibly an intermediate option would be to keep a persistent shared cache somewhere on the node, bind mount it into the container, and have the CVMFS client run in the container.

@mboisson
Copy link
Member Author

mboisson commented Aug 4, 2020

@preney, do you think you will have some time to try this soon ?

@mboisson
Copy link
Member Author

mboisson commented Aug 7, 2020

Some information that is relevant to this :
EESSI/filesystem-layer#10

@mboisson
Copy link
Member Author

mboisson commented Sep 4, 2020

This has been done by EESSI :
https://eessi.github.io/docs/pilot/

@preney, can you look at reproducing this for our stack ?

@mboisson
Copy link
Member Author

mboisson commented Sep 4, 2020

The docker file is here : EESSI/filesystem-layer#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants