From c776973e578fa562421c4977c42a7d9fb9fa86ad Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Fri, 27 Aug 2021 06:27:07 -1000 Subject: [PATCH] Fix codespace docker permission issue (#17306) in `1-linux` we need `--privileged` in devcontainer's `runArgs` --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6f4bd6e26645..b19376a1ca16 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": [