I am using Docker for Windows and creating one image using that. From that image I run a Ubuntu container which also upload a ssh private key file in that for git.
Now if I do git clone from bash console I am getting an invalid key error message.
Public key for that repository is uploaded in git but I am getting error permission denied. But if I create the same environment by using Linux docker no issue at all.
Can someone suggest what could be the issue?