Official solution for adding and using SSH-Key using secrets with docker- compose on build time · Issue #12378 · docker/docs · GitHub
![Securely Using SSH Keys in Docker to Access Private Github Repositories - FastRuby.io | Rails Upgrade Service Securely Using SSH Keys in Docker to Access Private Github Repositories - FastRuby.io | Rails Upgrade Service](https://fastruby.io/blog/assets/images/header/using-ssh-keys-in-docker.jpg)
Securely Using SSH Keys in Docker to Access Private Github Repositories - FastRuby.io | Rails Upgrade Service
![Cloning private git repo in Docker with multi-stage builds and docker- compose | by Simon Tsang | FAUN — Developer Community Cloning private git repo in Docker with multi-stage builds and docker- compose | by Simon Tsang | FAUN — Developer Community](https://miro.medium.com/v2/resize:fit:1200/1*C8t6tOZprYJUycH9bWyEBw.png)
Cloning private git repo in Docker with multi-stage builds and docker- compose | by Simon Tsang | FAUN — Developer Community
docker-compose fails with ssh:// protocol with PasswordRequiredException: Private key file is encrypted · Issue #6513 · docker/compose · GitHub
![Docker refuse to use ssh key despite mounting it as a volume - Docker Desktop for Windows - Docker Community Forums Docker refuse to use ssh key despite mounting it as a volume - Docker Desktop for Windows - Docker Community Forums](https://global.discourse-cdn.com/docker/optimized/3X/f/c/fc06e3ff89215d79154b67d0e83295c95f70795e_2_668x499.jpeg)