Skip to content
Discussion options

You must be logged in to vote

woodpecker exec with --backend-docker-host ssh://... isn't supported. The exec command uses the Docker client SDK which handles SSH hosts differently than the plain docker CLI.

When you run docker -H ssh://10.10.10.10 ..., the Docker CLI sets up an SSH tunnel internally and forwards the Docker socket. But woodpecker exec creates a Docker client programmatically via the Go SDK, and the SSH dialer in the SDK expects the remote Docker daemon to be properly configured — the EOF error means the SSH connection succeeds but the Docker API handshake fails (likely because the remote Docker socket isn't at the default path, or the SSH user can't access it).

Workaround 1: SSH tunnel + TCP

Set up a l…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@qwerty287
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 6543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants