tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apptainer/singularity container connection


From: Nasser Alkmim
Subject: Apptainer/singularity container connection
Date: Sun, 05 May 2024 21:41:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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

[Prev in Thread] Current Thread [Next in Thread]