From a1ec8ad6e93d1a64319c262a5c32ce2888936720 Mon Sep 17 00:00:00 2001 From: Kelly Peilin Chan Date: Thu, 20 Jun 2024 23:05:21 +0800 Subject: [PATCH] Update docker-in-workspaces.md (#13606) --- docs/templates/docker-in-workspaces.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/templates/docker-in-workspaces.md b/docs/templates/docker-in-workspaces.md index d6a873c68f..ab697b34ba 100644 --- a/docs/templates/docker-in-workspaces.md +++ b/docs/templates/docker-in-workspaces.md @@ -352,6 +352,7 @@ resource "kubernetes_pod" "main" { image = "docker:dind" security_context { privileged = true + run_as_user = 0 } command = ["dockerd", "-H", "tcp://127.0.0.1:2375"] }