From c564330e57a74dc1e3109aad4115f18a77632e20 Mon Sep 17 00:00:00 2001 From: Abiola Ibrahim Date: Sat, 11 Nov 2023 21:01:32 +0000 Subject: [PATCH] docker: workaround permission issue --- environment/container/docker/docker.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/environment/container/docker/docker.go b/environment/container/docker/docker.go index d07ea4db5..eef86578a 100644 --- a/environment/container/docker/docker.go +++ b/environment/container/docker/docker.go @@ -60,9 +60,6 @@ func (d dockerRuntime) Provision(ctx context.Context) error { // validate docker socket access a.Add(func() error { - if err := d.guest.RunQuiet("sh", "-c", `cat /etc/group | grep '^docker:' | grep ":${USER}\$"`); err == nil { - return nil - } return d.guest.RunQuiet("sh", "-c", "sudo chown ${USER} /var/run/docker.sock") })