Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Gitolite docker image

Dockerized version of the excellent Gitolite git administration tool.

Based on Alpine Linux, image size 67.49 MB.

Sample usage

# Setup the volumes to hold SSH keys and gitolite data
$ docker volume create --name gitolite-ssh
$ docker volume create --name gitolite-data

# Just initialize the server with your own ssh key, that will be saved on the volumes
$ docker run --rm -e SSH_KEY="$(cat ~/.ssh/" -v gitolite-ssh:/etc/ssh -v gitolite-data:/var/lib/git potz/gitolite true

# Run the gitolite server
$ docker run -v gitolite-ssh:/etc/ssh -v gitolite-data:/var/lib/git -d --name gitolite potz/gitolite


  • Trap SIGINT somehow and exit


This code is released under the MIT License.

Docker Pull Command
Source Repository