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 

Reply via email to