mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-04-29 12:17:18 -04:00
privileged mode and usb mount for devcontainer
This commit is contained in:
parent
0f10c50b4c
commit
d2245bedcb
1 changed files with 7 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "${containerWorkspaceFolder}/.devcontainer/setup.sh ${containerWorkspaceFolder}"
|
||||
"postCreateCommand": "${containerWorkspaceFolder}/.devcontainer/setup.sh ${containerWorkspaceFolder}",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
@ -30,4 +30,10 @@
|
|||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
"runArgs": [
|
||||
"--privileged"
|
||||
],
|
||||
"mounts": [
|
||||
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue