git-server-docker-stagit

git-server-with-stagit
git clone git://git.andersuno.nu/git-server-docker-stagit.git
Log | Files | Refs | README

commit 7dda3845ee4babc224a5dc56822862c9b0e141a6
parent 51fd493741bb06780cd47022408dcbe964754a6b
Author: Akuario <jkarlos.b@gmail.com>
Date:   Wed, 27 Jul 2016 21:26:08 +0200

Merge branch 'master' of https://github.com/jkarlosb/git-docker

Diffstat:
MREADME.md | 28++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -1,2 +1,26 @@ -# git-docker -Git Server in Docker +# git-server-docker +Git Server in Docker with Alpine Linux + +### Basic Usage + +How to make the image: + + $ docker build -t git-server-docker . + +How to run the container in port 2222 with two volumes, keys volumen for public keys and repos volume for git repositories: + + $ docker run -d -p 2222:22 -v /Users/carlos/git-server/keys:/git-server/keys -v /Users/carlos/git-server/repos:/git-server/repos git-server-docker + +How check that container works: + + $ ssh git@<ip-docker-server> -p 2222 -v + +How clone a repository: + + $ git clone ssh://git@<ip-docker-server>:2222/git-server/repos/myrepo.git + + + + + +