orca icon indicating copy to clipboard operation
orca copied to clipboard

Singularity: linubrew folder disappers with --writable flag

Open tmozgach opened this issue 8 years ago • 1 comments

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 avatar Sep 14 '17 21:09 tmozgach

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

tmozgach avatar Sep 14 '17 22:09 tmozgach