Apptainer/singularity container connection
Nasser Alkmim <[email protected]> Sun, 05 May 2024 21:41:11 +0200
| Newsgroups | gmane.emacs.tramp |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Does anyone use apptainer (former singularity) containers with TRAMP?
I would like to develop in emacs, but make the container libraries
available so LSP server and debuger can recognize them.
I tried already adding a tramp-method:
(add-to-list 'tramp-methods
'("apptainer" (tramp-login-program "apptainer")
(tramp-login-args (("shell") ("instance://%h")))))
Then I start an apptainer instance named "mycontainer".
So I can start an interactive shell in the container with,
apptainer shell instance://mycontainer
I would like to use TRAMP with "/apptainer:mycontainer:/"?
Any ideas?
Thanks
--
Nasser Alkmim