Forward 1Password SSH agent to docker container (MacOS)

Options
adrienroches
adrienroches
Community Member

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

Comments

  • floris_1P
    edited May 2023
    Options

    @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.

This discussion has been closed.