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

Running the container as Singularity image #8

Open
moldach opened this issue Mar 9, 2021 · 0 comments
Open

Running the container as Singularity image #8

moldach opened this issue Mar 9, 2021 · 0 comments

Comments

@moldach
Copy link

moldach commented Mar 9, 2021

We've migrated to an air-gap system with no outgoing internet connection and I can no longer get MToolBox to work.

I filed an issue a month ago but haven't heard anything back (mitoNGS/MToolBox#96) so I'm trying to get a container solution working.

However, I need some help getting this to run: https://hub.docker.com/r/mitongs/mtoolbox

It's not clear to me how I can edit/provide-symlinks for analysis.tab, datasets.tab, reference_genomes.tab and provide the datasets to the container.

Question 1:

Can you please help show me how the syntax would look like for that?

Question 2:

I'm able to activate the mtoolbox conda environment from the Docker container:

$ sudo docker run -it mitongs/mtoolbox:latest
 :: MToolBox ::  / >>> source activate mtoolbox
(mtoolbox)  :: MToolBox ::  / >>> 

However, I'm not able to do so from the Singularity container?
Can you spot what I'm doing wrong?

$ sudo singularity build --sandbox mtoolbox.sif docker://mitongs/mtoolbox:latest
$ singularity run mtoolbox.sif 
Singularity> source activate mtoolbox
Could not find conda environment: mtoolbox
You can list all discoverable environments with `conda info --envs`.
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

1 participant