loft-sh / devpod

Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.
https://devpod.sh
Mozilla Public License 2.0
9.06k stars 336 forks source link

Add option to use container volumes on git-repositories #1216

Open haakobja opened 2 months ago

haakobja commented 2 months ago

Is your feature request related to a problem? I've been using DevPod for some time now, first as a Mac user and now, recently as a Windows user. Currently I'm using Podman Desktop and when programming I use the Jetbrains suite, but the Jetbrains software complains about the filesystem and notifies me that I might be using a network disk.

image

I realize that DevPod mounts a local file system directory, even if I didn't open that directory as a devpod. Lately, I've been using devcontainers and feed devpod with the repository ssh-url.

Which solution do you suggest?
Make an opt in feature to use container volumes for devcontainer workspaces.

Which alternative solutions exist?
I'm not aware of other solutions to this, as currently, the container runs in WSL.

Additional context
Podman containers on Windows runs in an WSL-instance. I also use KeePassXC to store SSH-keys, which is integrated with the local OpenSSH-agent instance

bkneis commented 2 months ago

Hi @haakobja, thanks for reporting this issue! what provider are you using?

haakobja commented 2 months ago

I'm using the Docker provider with the following configuration: image

Please note that the podman CLI is installed and available via the $PATH environment variable