-
Notifications
You must be signed in to change notification settings - Fork 102
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 Agent Forwarding With MacOS and Docker Desktop #1591
Comments
This appears to be an issue with ansible-runner and not ansible-navigator directly. I'll file an issue and potentially try to write a PR for it over there. |
ansible/ansible-runner#1293 is the PR in |
Also running into this issue and want to add my support for this issue getting attention. |
ISSUE TYPE
SUMMARY
The SSH agent is not correctly mounted when using MacOS and Docker Desktop with Ansible Navigator.
ANSIBLE-NAVIGATOR VERSION
CONFIGURATION
In one of the cases you can try to configure
ansible-navigator.yml
to mount the volume and configure the ENV variable as described in the Docker Desktop documentation.LOG FILE
STEPS TO REPRODUCE
ansible-navigator
EXPECTED RESULTS
Ideally, it detects the container runtime and automatically mounts the SSH agent into the container correctly.
ACTUAL RESULTS
ansible-navigator.yml
to add the volume for/run/host-services/ssh-auth.sock
it fails because the volume does not exist on the host runningansible-navigator
ansible-navigator
be validating the bind mount paths or should we leave that up to the container runtime?ADDITIONAL INFORMATION
https://docs.docker.com/desktop/networking/#ssh-agent-forwarding
The text was updated successfully, but these errors were encountered: