Unprivileged Installation (No Root Required)
To enable Singularity/Apptainer as a runtime option for AkôFlow workflows, you can install it without administrator privileges:
# Download and run the unprivileged installation script
curl -s https://raw.githubusercontent.com/apptainer/apptainer/main/tools/install-unprivileged.sh | \
bash -s - $HOME/apptainer
# Add the installation to your PATH (current session)
export PATH=$HOME/apptainer/bin:$PATH
# Add the installation to your PATH permanently
echo 'export PATH=$HOME/apptainer/bin:$PATH' >> ~/.bashrc
Verification
After installation, verify that Apptainer is working correctly and accessible to AkôFlow:
# Source your updated .bashrc or restart your terminal
source ~/.bashrc
# Check the version
apptainer --version
# Run a test container
apptainer exec docker://alpine echo "Hello from Singularity container!"
AkôFlow Integration
Once Singularity/Apptainer is successfully installed and available in your PATH, AkôFlow will automatically detect it and enable workflows that use Singularity containers.
When creating or running workflows in AkôFlow, you’ll be able to select Singularity as your container runtime option. No additional configuration is needed – AkôFlow will use the Singularity/Apptainer command that’s available in your system PATH.
You can now run AkôFlow workflows that specify Singularity as their container runtime.