Problem to solve
Instead of copying SSH keys into the image (a major security risk), configure your docker-compose.yml to mount the SSH socket.
volumes:
- $SSH_AUTH_SOCK:/run/host-services/ssh-auth.sock
environment:
- SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
Proposed solution
No response
Problem to solve
Instead of copying SSH keys into the image (a major security risk), configure your docker-compose.yml to mount the SSH socket.
Proposed solution
No response