summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.devcontainer.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/.devcontainer.json b/.devcontainer.json
index cdb129dcf..6f7fe4bf8 100644
--- a/.devcontainer.json
+++ b/.devcontainer.json
@@ -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"
]