flathub / flathub/com.visualstudio.code

Improve default experience with Devcontainers

未关闭
#203 8 条评论 19 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
217
派生
82
平均合并
1 天 7 小时
30 天内合并 PR
1

描述

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`.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。