Skip to content

Commit

Permalink
privileged mode and usb mount for devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
saesh committed Jun 30, 2024
1 parent 0f10c50 commit 73c9674
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@
]
}
},
"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": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Configure tool-specific properties.
// "customizations": {},

// 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"
]
}

0 comments on commit 73c9674

Please sign in to comment.