Skip to content

Commit

Permalink
Mount devcontainer workspace SELinux compatible (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
nning committed Sep 29, 2022
1 parent 15952a3 commit 8130c05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Expand Up @@ -10,10 +10,12 @@
"NODE_VERSION": "v16"
}
},
"workspaceMount": "",
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
"seccomp=unconfined",
"--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"
],
// Set *default* container specific settings.json values on container create.
"settings": {
Expand Down

0 comments on commit 8130c05

Please sign in to comment.