Sign inSign up

frozzare/git

By frozzare

•Updated about 8 years ago

Docker image with git and openssh

Image
0

276

frozzare/git repository overview

⁠docker-git

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.

⁠Usage

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

⁠License

MIT © Fredrik Forsmo⁠

Tag summary

Content type

Image

Digest

Size

12.2 MB

Last updated

about 8 years ago

docker pull frozzare/git