From 4fcf8b2282c2841920cd1c2b10c023e4b7c578e6 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 1 Feb 2021 12:16:48 -0800 Subject: Update .devcontainer.json Provide appropriate capabilities and adjust Docker socket. --- .devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" ] -- cgit v1.2.3