docker run --name docker-git -d -v /opt/git-home:/home/git -p 2222:22 siddick/docker-git
docker exec docker-git cat admin > ~/.ssh/docker-git.pem && chmod 600 ~/.ssh/docker-git.pem
echo "Host docker-git
User git
HostName localhost
IdentityFile ~/.ssh/docker-git.pem
Port 2222" >> ~/.ssh/config
git clone docker-git:gitolite-admin.git
Content type
Image
Digest
sha256:58aa8fe48…
Size
109.8 MB
Last updated
almost 11 years ago
docker pull siddick/docker-git