Thanks for your reply.
I have updated the ssh public key on the server.
With the same key, i am able to checkout the git code from the server through my local system.
But in docker container, while checkout it is asking for a password.
Then I tried with the IP address it is working fine.
But with the domain name, it is not working.
Below command, i am using for checkout.