flathub / flathub/com.visualstudio.code

Improve default experience with Devcontainers

Ouverte
#203 8 commentaires 19 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
217
Forks
82
Merge moyen
1 j 7 h
PR mergées (30 j)
1

Description

Using [Devcontainers](https://code.visualstudio.com/docs/remote/containers) is a nice way to develop when there are issues with VSCode being sandboxed. Getting Devcontainers to work from the VSCode Flatpak is easy. Just create a simple wrapper script

```sh
#!/bin/sh
exec flatpak-spawn --host docker "$@"
```

and point the Devcontainer extension to it.

I suggest to ship this wrapper with the VSCode Flatpak, so that the Devcontainer extension works out of the box. Having the same wrapper for Podman might be a good idea too. Another option would be to describe this workaround in `flatpak-warning.txt`.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.