You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using docker buildx build with git URL specified requiring SSH should successfully source the build context from the remote repository.
Actual behavior
➜ docker buildx build git@github.com:***/***.git
[+] Building 0.3s (1/1) FINISHED
=> ERROR [internal] load git source git@github.com:***/***.git 0.3s
------
> [internal] load git source git@github.com:***/***.git:
#1 0.239 ssh -F /dev/null -o UserKnownHostsFile=/var/lib/docker/tmp/953733054: ssh: command not found
#1 0.240 fatal: Could not read from remote repository.
#1 0.240
#1 0.240 Please make sure you have the correct access rights
#1 0.240 and the repository exists.
SSH does not appear to be contained within the container running the build.
Information
macOS Version: Mojave (10.14.6)
Intel chip or Apple chip: Intel
Docker Desktop Version: 3.5.2 (66501)
Steps to reproduce the behavior
Attempt to source a docker build from an SSH git URL e.g. docker buildx build git@github.com:docker/buildx.git
Note the error ssh -F /dev/null -o UserKnownHostsFile=/var/lib/docker/tmp/544077690: ssh: command not found
Docker Desktop 4.0.0 has been released containing a fix for this issue, so I'm closing this issue. Feel free to open a new ticket if the problem persists.
Activity
StefanScherer commentedon Aug 12, 2021
Thanks for the report. Our engineers are looking into this and fix it in a future version.
lorenrh commentedon Aug 31, 2021
Hello,
Docker Desktop 4.0.0 has been released containing a fix for this issue, so I'm closing this issue. Feel free to open a new ticket if the problem persists.
docker-robott commentedon Sep 30, 2021
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked