Skip to content

docker container for running a nice and simple git server.

Notifications You must be signed in to change notification settings

twistedvines/docker-gitserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Debian Git Server

This image contains a minimal git server, with openssh-server and git installed.

Usage

For security reasons, I haven't set a password for the git user, so you'll have to mount in an authorized_keys file with your public key to /home/git/.ssh/authorized_keys.

I typically run the following:

docker run \
  --rm \
  -p 2222:22 \
  -v "$(pwd)/authorized_keys:/home/git/.ssh/authorized_keys" \
  --restart always \
  gitserver

About

docker container for running a nice and simple git server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published