Repository navigation
🖐️ Unable to use remote runner host via SSH #12445
Replies: 2 comments
|
@skycaptain if you call Also, when you are calling If you are trying to connect to a host that was provisioned via We have some advanced "power-user" docs on provisioning a custom dagger engine runner here if you are interested in setting up a custom runner. As you can probably tell, this exact use case is still considered "advanced" at the moment and not incredibly well polished yet 🙂 But happy to work through this with you if you can tolerate a bit more bumpy ride than ideal. |
|
Thanks for having a look.
Sry, no more output, just: Don't mind the 30s. I recompiled the CLI to fail after 30s instead of 10 minutes to debug faster. Perhaps the issue is due to a wrong assumption on my part. Should the engine already be running on the remote system? In other words, do I need to start it manually? Additionally, does the engine need to run natively on the remote system, or can it also run inside a container? If it can run inside a container, how does the CLI know which container to connect to? For example, with Buildx, you can set the remote address as mentioned above, and it will automatically start the engine inside a container and connect to it if you're using the docker-container driver. This is really convenient, as it allows multiple users to utilize the same high-performance workstation, each with their own engine instance. I'm curious if the same is possible with Dagger. Would be happy to assist in getting this feature. |
Uh oh!
There was an error while loading. Please reload this page.
What happened? What did you expect to happen?
With #5415 (released with v0.8.0) the engine client was refactored and the SSH connection helper from buildkit was added.
Knowing that
_EXPERIMENTAL_DAGGER_RUNNER_HOSTis experimental as the name suggest and not officially supported, I though I'd give it a try.Using a remote host via SSH with buildx is rather easy and straight forward using:
Since
newBuildkitClientuses the buildkit client, I thought this should work now:However, when I run this command the dagger CLI timeouts with
new client: context deadline exceededafter 10 minutes. I double checked that the machine is reachable via SSH and also buildx works fine.Has anyone some hints on how to debug this any further?
All reactions