Mount devcontainer workspace SELinux compatible (#1816)

This commit is contained in:
henning mueller 2022-09-29 04:10:06 +02:00 committed by GitHub
parent 15952a3c7f
commit 8130c05ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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": {