From 37a3a6e6f4910f91a5141d4ccdad82e05dbcee29 Mon Sep 17 00:00:00 2001 From: Zortaniac Date: Wed, 13 Dec 2023 11:34:12 +0100 Subject: [PATCH] Fix DOCKER_HOST default to include unix:// path prefix --- pkg/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 1450e28d..11bc2cbc 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -314,7 +314,7 @@ func GetDockerHost() string { return dh } - return "/var/run/docker.sock" + return "unix:///var/run/docker.sock" } // GetDockerIP returns the location of the Docker Server IP address