Simple docker container to solve issue when you have multiple ssh keys with different git accounts. The image scans the GitHub, GitLab and Bitbucket with ssh-keyscan so you don't have to do it.
Create a alias so you can use git2 everywhere.
alias git2="docker run --rm -v ~/.ssh/id_rsa:/root/.ssh/id_rsa -v ~/.gitconfig:/root/.gitconfig -v $(pwd):/opt frozzare/git"
git2 clone [email protected]:frozzare/docker-git.git
MIT © Fredrik Forsmo
Content type
Image
Digest
Size
12.2 MB
Last updated
about 8 years ago
docker pull frozzare/git