Skip to content

Improve default experience with Devcontainers #203

@zroug

Description

@zroug

Using Devcontainers 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

#!/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions