devcontainers / devcontainers/spec

Add support for devices in devcontainer-feature.json

Open
#153 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

While implementing a [Dev Container feature for Tailscale](https://github.com/tailscale/codespace/pull/6), I discovered that there's no way to have the feature add the equivalent of `runArgs: ["--device=/dev/net/tun"]`, even though you can set `privileged` (which would work, but gives way more access than needed). Would it be possible to add this to the feature metadata spec?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.