Forum Discussion

Former Member's avatar
Former Member
3 years ago

Forward 1Password SSH agent to docker container (MacOS)

Hi. I've been trying out the solution propsoed here : https://1password.community/discussion/130769/how-to-forward-1password-ssh-agent-to-docker-container-macos (closed) by floris_1P but it doesn't work. It displays The agent has no identities.. Any idea ?


1Password Version: 8.10.4
Extension Version: Not Provided
OS Version: 13.3.1
Browser:_ Not Provided

1 Reply

  • floris_1P's avatar
    floris_1P
    Icon for 1Password Team rank1Password Team

    @coolgoose That's because Docker for Mac is managed by launchd and will inherit the launchd environment rather than the shell environment.

    To fix that, you can either launch Docker for Mac from the shell with SSH_AUTH_SOCK set using the open -a /Applications/Docker.app/ command, or for more persistent use, have launchd configure the socket by following the steps described here.