Skip to content

_apptainer_shell.sh missing? #704

@Filip-K

Description

@Filip-K

Hi! The FAQ says we can use the "--shell /usr/local/bin/_apptainer_shell.sh option to apptainer exec to activate the base environment". That doesn't seem to work for me (the base environment is not activated) and I noticed that /usr/local/bin/_apptainer_shell.sh is not present in the image. I think the file would have to be present for this to work, or am I misunderstanding something?

To check, do apptainer pull micromamba.sif docker://mambaorg/micromamba:2.5.0, apptainer exec micromamba.sif ls /usr/local/bin/ and notice that _apptainer_shell.sh is not there.

Also, I think the FAQ should say "--shell /usr/local/bin/_apptainer_shell.sh option to apptainer shell to activate the base environment" apptainer exec has no --shell option as of apptainer version 1.4.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions