-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails with "unknown service moby.sshforward.v1.SSH" #2040
Comments
Same issue, but on Mac |
Sorry I haven't had a chance to look into this; I don't have (easy) access to a windows machine, but I'll check to see if I can replicate it on a Mac. |
Thanks! It worked for me if I just do these:
|
…d line - fixes moby/buildkit#2040 with a similar fix which was done in docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]>
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]>
Same issue but on Ubuntu 20.04, Trying to build from a git URL aws-creds-server:
build: '[email protected]:foo/bar.git' docker-compose version 1.29.1, build unknown
docker-py version: 5.0.0
CPython version: 3.8.5
OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to load cache key: rpc error: code = Unimplemented desc = unknown service moby.sshforward.v1.SSH
ERROR: Service 'aws-creds-server' failed to build : Build failed
make: *** [Makefile:13: container] Error 1 |
@tonistiigi any chance you've been able to look at a potential fix in docker/cli#3050 ? |
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]>
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]>
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]>
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]>
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]> Upstream-commit: af1bb80c3482d1395123af3037bb5ecf5feb5a7e Component: cli
This is still an issue with docker 23.0.0 / compose v2.15.1 on ubuntu 22.04 (linux/amd64) Works well with the workaround provided here ( |
@creack #2040 (comment) was about compose v1 that just shells out to |
Quickly tried, but my project isn't compatible with compose v1. Looked at the buildx bake docs... Didn't understand how to use it with git. I guess I'll just keep disabling buildkit for now. Would be good to see this issue re-opened though as it has not been addressed. |
- this fixes moby/buildkit#2040 by enabling ssh forwarding when a remote address is given on the command line, this is a similar fix to docker/buildx#581 Signed-off-by: Alex Couture-Beil <[email protected]> (cherry picked from commit af1bb80)
For what it's worth, I got this again when running earthly 0.7.11 and latest docker engine. The same pipeline was working a few months ago so idk. Client: Docker Engine - Community Server: Docker Engine - Community |
@EamonKeane please open an issue under https://github.com/earthly/earthly |
Environment:
Windows 10 host (Build 18363) with Docker Desktop (WSL2 backend) and Git for Windows. All working fine.
Issue:
Trying to build an image from URL context (private repo). Build fails with following error:
I can run the build without any issues form other machines (Linux VMs local and cloud)
I can authenticate with GitHub and clone the above repository without any issues.
Thanks for any help, I could not find this condition described anywhere.. Let me know if more details are needed.
The text was updated successfully, but these errors were encountered: