Skip to content

Commit

Permalink
Fix codespace docker permission issue (#17306)
Browse files Browse the repository at this point in the history
in `1-linux` we need `--privileged` in devcontainer's `runArgs`
  • Loading branch information
jeremymeng authored Aug 27, 2021
1 parent 9b74007 commit c776973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"workspaceMount": "source=${localWorkspaceFolder},target=/home/codespace/workspace,type=bind,consistency=cached",
"workspaceFolder": "/home/codespace/workspace",
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"],
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined", "--privileged"],

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
Expand Down

0 comments on commit c776973

Please sign in to comment.