Sign inSign up

salfter/gitd

By salfter

Updated almost 3 years ago

the Git daemon, in a container

Image
0

109

salfter/gitd repository overview

I needed to import some local Git repos into a newly-created GitLab instance, but the GitLab importer only knows the http, https, and git URI schemes (?), not ssh or file. This image runs a Git daemon on port 9418. Run it with something like this:

docker run -d --name=gitd --rm -v /my/repos/dir:/var/repos -p 9418:9418 salfter/gitd

After finding Gentoo too heavyweight for the purpose (though it worked) and the git in Alpine not having been built with support for the Git daemon, this image is built atop Debian.

Tag summary

Content type

Image

Digest

sha256:e2bad067b

Size

106.3 MB

Last updated

almost 3 years ago

docker pull salfter/gitd