fix: check Docker availability before falling back to local Dagger engine (#329) #333

Merged
guettlibot merged 1 commits from issue-329-fix into main 2026-05-29 21:19:16 +00:00
1 Commits
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 a580b40802 fix: check Docker availability before falling back to local Dagger engine (#329)
When the remote Dagger server is unreachable, setup_dagger_remote.sh
previously exited 0 with a misleading "CI will use the local Dagger
engine" message even when Docker was not running on the host.
This caused a confusing failure in the next step with a docker.sock
"no such file or directory" error rather than a clear early failure.

Add a `docker info` check after all remote probe attempts fail:
if local Docker is also unavailable, exit 1 with an actionable
error message so the root cause is immediately obvious.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 22:37:43 +02:00