From 9a40f60700abc154175e52a88d98f7bbf31fecdc Mon Sep 17 00:00:00 2001 From: Drew Newberry Date: Sat, 14 Mar 2026 23:40:34 -0700 Subject: [PATCH] fix(ci): use nohup for dockerd to survive between GHA steps Each GHA step runs via docker exec which sends SIGHUP to backgrounded processes when the shell exits. Use nohup to detach dockerd from the step's process group so it persists across steps. --- .github/workflows/release-canary.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-canary.yml b/.github/workflows/release-canary.yml index 5c91cf34d..91795385b 100644 --- a/.github/workflows/release-canary.yml +++ b/.github/workflows/release-canary.yml @@ -84,7 +84,7 @@ jobs: # We use a dedicated socket because the GHA runner injects its own # /var/run/docker.sock for container management. DOCKER_HOST is set # per-step (not via GITHUB_ENV) to avoid breaking the runner. - dockerd --host unix:///var/run/dind.sock &>/var/log/dockerd.log & + nohup dockerd --host unix:///var/run/dind.sock &>/var/log/dockerd.log & echo "Waiting for Docker daemon..." export DOCKER_HOST=unix:///var/run/dind.sock timeout 30 sh -c 'until docker info >/dev/null 2>&1; do sleep 1; done'