summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdin Scannell <adin@scannell.ca>2021-02-01 12:16:48 -0800
committerGitHub <noreply@github.com>2021-02-01 12:16:48 -0800
commit4fcf8b2282c2841920cd1c2b10c023e4b7c578e6 (patch)
treee982c40e161a8f51c0c216453b785759dbcfdbe7
parent196c9de99e65a7c794814f26d2f397a27443b255 (diff)
Update .devcontainer.json
Provide appropriate capabilities and adjust Docker socket.
-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"
]