Sign inSign up

m2i3/git-serve

By m2i3

•Updated almost 8 years ago

Image
0

1.0K

m2i3/git-serve repository overview

⁠A very simple Git Daemon to simply transfer files and configuration

⁠Use

Build the image:

make

How to use it:

docker run -d -p 9418:9418 m2i3/git-serve

To clone from the default repository and start working:

git clone git://<accessibleip>:<accessibleport/> ./localpath

e.g.

git clone git://localhost:9418/ ./myfirstrepo

Since the default git serve port is mapped, using the port in clone or push/pull commands is optional.

We can also push an existing repository, on localhost like so:

git push git://localhost/

⁠Extend

Git repositories are created in a docker volume.

./start.sh Gets run as default command in the container. This creates a single repository out of the box. Modify if you want more, or add them by hand to the volume.

⁠Notes

It does not do authentication or logging or anything. It's plain and dirty

Tag summary

Content type

Image

Digest

sha256:70064ae78…

Size

94.2 MB

Last updated

almost 8 years ago

docker pull m2i3/git-serve