From 3dbd0b6032ae79900bcedcd158f32a603b53a07e Mon Sep 17 00:00:00 2001 From: Kelly Peilin Chan Date: Thu, 20 Jun 2024 13:58:08 +0800 Subject: [PATCH] Update docker-in-workspaces.md --- 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 d6a873c68f77a..ab697b34baca7 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"] }