On my host machine, I'm able to create a second user: admin
and push
to that user's git folder using:
admin@localhost:folder
When I create a Docker container hosting a git server, after exposing port 22
how do I git push
from my local machine to localhost:22
which would be the location of the container's ports?