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

Singularity: linubrew folder disappers with --writable flag #31

Open
tmozgach opened this issue Sep 14, 2017 · 1 comment
Open

Singularity: linubrew folder disappers with --writable flag #31

tmozgach opened this issue Sep 14, 2017 · 1 comment
Assignees

Comments

@tmozgach
Copy link
Contributor

Problem: usually a singularity container is read-only (brew install, apt-get don't work).
In order to edit a container, --writable flag is used. However, the brew command disappeared (see a sample script below) because linuxbrew folder doesn't exist in the folder /home!

singularity pull docker://tmozgacheva/orca:latest
singularity shell orca-latest.mg

Singularity orca-latest.img:~/sing> which brew
/home/linuxbrew/.linuxbrew/bin/brew

exit

singularity shell --writable orca-latest.mg
Singularity orca-latest.img:~/sing> which brew
Singularity orca-latest.img:~/sing> 
Singularity orca-latest.img:~/sing> brew --version
bash: brew: command not found

Question: could we adapt the singularity for our purpose because we need a function that edits a container !?

@tmozgach tmozgach assigned tmozgach and sjackman and unassigned tmozgach Sep 14, 2017
@tmozgach
Copy link
Contributor Author

@sjackman if you are planing to play with Singularity, the above major issue that we faced.

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

No branches or pull requests

2 participants