Docker Community Forums

Share and learn in the Docker community.

Can we re-use the OSX ssh-agent socket in a container?

We really need support for this to pull from private repos that require SSH authentication.

1 Like

Any updates on this? Or new work-arounds?

1 Like

Still waiting on this. It’s quite crippling to not have a solution.

1 Like

+1 I’m waiting on this…

1 Like

Lack of proper socket support prevents us from for using Docker in our environment. Any updates on this?

2 Likes

Any news on this? I’m blocked if i can’t share the agent.

Can we get a link to github issues or other issue tracker around this issue? Are there any other workarounds available? docker-ssh-agent-forward is extremely unwieldy.

2016-08-24: https://github.com/docker/for-mac/issues/410

1 Like

There is an official solution https://docs.docker.com/docker-for-mac/osxfs/#ssh-agent-forwarding using magic path /run/host-services/ssh-auth.sock.