Skip to content

Commit

Permalink
Update .devcontainer.json
Browse files Browse the repository at this point in the history
Provide appropriate capabilities and adjust Docker socket.
  • Loading branch information
amscanne authored Feb 1, 2021
1 parent 196c9de commit 4fcf8b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"dockerFile": "images/default/Dockerfile",
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"],
"overrideCommand": true,
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"],
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
"extensions": [
"bazelbuild.vscode-bazel"
]
Expand Down

0 comments on commit 4fcf8b2

Please sign in to comment.