diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8d96444..e8ec593 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,7 @@ "context": "..", // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. "dockerfile": "../Dockerfile" - } + }, // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, @@ -23,4 +23,14 @@ // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "devcontainer" + + "mounts": [ + "type=bind,source=/dev/bus/usb,target=/dev/bus/usb", + "type=bind,source=/dev,target=/dev" + ], + + "runArgs": [ + "--cap-add=SYS_RAWIO", + "--device-cgroup-rule=c 189:* rmw" + ] }