Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mount the SSH_AUTH_SOCK socket for ssh-agent
Mount the SSH_AUTH_SOCK into the docker-dev-shell container to propagate the SSH agent credentials and allow git access to servers/repositories which require the ssh credentials. The added volume mapping in 'docker run' applies only if ${SSH_AUTH_SOCK} is not empty. For Mac with Docker or Rancher Desktop, map /run/host-services/ssh-auth.sock, for the other cases / standard Linux, use the value of $SSH_AUTH_SOCK. Issue #11544 - addresses the second checkbox: ssh-add -l shows the same ssh keys as in the "outside" user session. Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
- Loading branch information