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

$SSH_AUTH_SOCK ne fonctionne pas avec docker-desktop sur Linux #2

Open
adrienrouquet opened this issue May 21, 2024 · 0 comments
Open

Comments

@adrienrouquet
Copy link

#- $SSH_AUTH_SOCK:/ssh-agent

La VM de docker-deskop pose un problème dans la propagation de l'agent SSH.
Pour que la propagation fonctionne, il faut binder la socket /run/host-services/ssh-auth.sock (qui n'apparait que dans la VM)
Cette socket est créée à partir de la variable d'env SSH_AUTH_SOCK de l'hôte qui doit être présente au moment du démarrage de docker-desktop.

https://docs.docker.com/desktop/networking/#ssh-agent-forwarding

https://1password.community/discussion/133105/error-connecting-to-agent-permission-denied-when-forwarding-1password-ssh-agent-to-docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant