Feature request: native support for Docker/Apptainer over remote SSH #13477
Replies: 1 comment 1 reply
-
|
It is true that you currently can't mix remote SSH and dev containers, but you might be able to use one or the other in this case. You can, for example, start the container on the remote host, run We are tracking nested remote functionality (connecting to a dev container from a remote session) in #11867 if you'd like to add some context/upvotes. It sounds like your request though is not to run the entire Positron IDE inside a container (which is what the existing dev container feature does) but to run individual R and Python sessions in containers, with each session in its own container. Does that sound right? Related issue: #8300 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'd like to request an option in Positron for launching console sessions (R or Python) inside containerized environments like Docker or Apptainer (formerly Singularity) images. I know this is an option locally with Dev containers, so my request is focused on working over SSH on a remote host.
Motivation
I see from dev-containers documentation that this is not supported currently, where it says:
I mostly want to voice my support for implementing this functionality. I work as a data scientist on academic HPC clusters, and containers can be super helpful in my research for a few reasons:
apt installon a cluster, so containers are the cleanest path to libraries like GDAL, NetCDF, openMPI, or specific GEOS versions. I have found that dependencies can be a nightmare with the available modules and too many versions.Current workaround
Right now I have two viable workarounds but both have major drawbacks.
arkkernel to point to an Apptainer manually. It works, but it's fiddly to set up, breaks easily (every Positron update), and isn't a documented/supported path.Request
A configuration option that would allow the use of containers over remote SSH. Specifically it would be nice to:
.sif/ Apptainer image)docker,podman,apptainer,singularity)Alternatively, I would appreciate someone pointing me towards a better method or workaround than what I am doing currently!
Thanks! Love positron so far!
Beta Was this translation helpful? Give feedback.
All reactions