flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
150 stars 69 forks source link

[Question] Is there any way to integrate host git into my distrobox container? #535

Open solecram opened 1 month ago

solecram commented 1 month ago

Hello everyone, I hope you are well. I would like to know if there is a possibility of integrating vscode flatpak running a distrobox container to the git host. My problem is that creating a symbolic link makes the graphical git management done by vscode not work, git is not identified.

francoism90 commented 3 days ago

@solecram I'm not familiar with Distrobox, but you can use the host terminal, and I believe you can even use: host terminal -> container

I've tried running things this way, but you eventually working around Flatpak's core features (e.g. escaping the sandbox). It also makes you need to maintain multiple things when also doing Docker.

Did you tried https://github.com/flathub/com.visualstudio.code#use-host-shell-in-the-integrated-terminal?