From ed35b09b8f4a0fa0a280981bd8b5991cb4bb8613 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Mon, 21 Aug 2023 04:01:12 +0000 Subject: [PATCH] change podman socket path (#341) port of https://github.com/nektos/act/pull/1961 closes gitea/act_runner#274 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/341 Reviewed-by: Jason Song Co-authored-by: TheFox0x7 Co-committed-by: TheFox0x7 --- internal/app/cmd/daemon.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/app/cmd/daemon.go b/internal/app/cmd/daemon.go index ec02e08..e8e0917 100644 --- a/internal/app/cmd/daemon.go +++ b/internal/app/cmd/daemon.go @@ -163,9 +163,10 @@ func initLogging(cfg *config.Config) { var commonSocketPaths = []string{ "/var/run/docker.sock", - "/var/run/podman/podman.sock", + "/run/podman/podman.sock", "$HOME/.colima/docker.sock", "$XDG_RUNTIME_DIR/docker.sock", + "$XDG_RUNTIME_DIR/podman/podman.sock", `\\.\pipe\docker_engine`, "$HOME/.docker/run/docker.sock", }