Skip to content
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

dockerd container is missing ssh #5902

Closed
3 tasks done
Nugs opened this issue Aug 11, 2021 · 3 comments
Closed
3 tasks done

dockerd container is missing ssh #5902

Nugs opened this issue Aug 11, 2021 · 3 comments

Comments

@Nugs
Copy link

Nugs commented Aug 11, 2021

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: 517C6036-A85F-4F84-8011-18C16E3BED7C/20210811184549

Expected behavior

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

  1. Attempt to source a docker build from an SSH git URL e.g. docker buildx build git@github.com:docker/buildx.git
  2. Note the error ssh -F /dev/null -o UserKnownHostsFile=/var/lib/docker/tmp/544077690: ssh: command not found

This was discussed on the community slack here

@StefanScherer
Copy link
Member

Thanks for the report. Our engineers are looking into this and fix it in a future version.

@lorenrh
Copy link
Member

lorenrh commented 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.

@lorenrh lorenrh closed this as completed Aug 31, 2021
@docker-robott
Copy link
Collaborator

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

@docker docker locked and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants