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

Instance environment persistence unclear #383

Open
tsnowlan opened this issue Feb 25, 2021 · 1 comment
Open

Instance environment persistence unclear #383

tsnowlan opened this issue Feb 25, 2021 · 1 comment

Comments

@tsnowlan
Copy link

Which Document page:

On what page is the problem?
Running Services, Environment and Metadata

Expected results:

What are you expecting to see?

An explanation of how environment variables persist when using singularity instances.

Actual results:

What is the problem, what's misspelled, or what's missing?

Environment variables set at instance start are not persisted to singularity exec|shell commands run on that instance. This seems to be by design (ref: apptainer/singularity#5353) but is not mentioned anywhere in the documentation on either instances or environment.

For people moving from Docker to Singularity, singularity instance start can be seen as a docker run equivalent. Variables set at docker run are persisted to later docker exec calls on the same container, so it's a reasonable (if incorrect) assumption that the same would be true for singularity instances. Having the actual behavior directly stated in the docs would be really helpful.

@pedroalvesbatista
Copy link
Contributor

@DrDaveD I guess that this issue can be worked as it concerns the docs.

I'll take a deep look and investigate if there is some non-descriptive enough about singularity instances.

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