Giter Site home page Giter Site logo

Comments (2)

ajardin avatar ajardin commented on July 18, 2024

Hi @nervo!

Sorry for the very late response... 😞

Maybe you weren't using the latest version of Docker for Mac, as it should work on the stable channel since 2020-01-21 with version 2.2.0.0. Before that, only people using the beta channel could use this new feature.

I ran exactly the same commands without any problem, as you can see below.

docker run -ti -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -e SSH_AUTH_SOCK="/run/host-services/ssh-auth.sock" ajardin/symfony-php bash

bash-5.0# ls -lsa /run/host-services/
total 12
     4 drwxr-xr-x    1 www-data www-data      4096 Mar 26 20:34 .
     8 drwxr-xr-x    1 root     root          4096 Dec 23 21:39 ..
     0 srwxr-xr-x    1 root     root             0 Mar 26 16:19 ssh-auth.sock

bash-5.0# ssh -T [email protected]
The authenticity of host 'github.com (140.82.118.3)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,140.82.118.3' (RSA) to the list of known hosts.
Hi ajardin! You've successfully authenticated, but GitHub does not provide shell access.

So yes, it actually works on my computer. 🙂

from docker-images.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from docker-images.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.