You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In practice Nextflow will automatically wrap your processes and launch them by running the singularity exec command with the image you have provided.
My question is, is it possible to set nextflow to run singularity run, not singularity exec? The benefit of using run is when the container is built based on micromamba-docker, we can have multiple conda/mamba env in a container. By setting containerOptions = "--env ENV_NAME=env1", the process will run in the env1 environment.
For docker this is not a problem, since nextflow call docker run by default. It will be really helpful if singularity run is also supported.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In the docs/container.rst file, it said
My question is, is it possible to set nextflow to run
singularity run
, notsingularity exec
? The benefit of usingrun
is when the container is built based on micromamba-docker, we can have multiple conda/mamba env in a container. By settingcontainerOptions = "--env ENV_NAME=env1"
, the process will run in the env1 environment.For docker this is not a problem, since nextflow call
docker run
by default. It will be really helpful ifsingularity run
is also supported.The text was updated successfully, but these errors were encountered: