No Description

dependabot[bot] 4185e269cd build(deps): bump debian from 11.4-slim to 11.5-slim (#23) 1 week ago
.github 630f807f23 build(deps): bump docker/build-push-action from 3.1.0 to 3.1.1 1 month ago 33e9c33392 changelog: added missing "Unreleased" section 1 year ago
Dockerfile 4185e269cd build(deps): bump debian from 11.4-slim to 11.5-slim (#23) 1 week ago
Makefile d5859c0edf makefile: fix missing architecture suffix in image tag 1 year ago 8fd4a52135 readme: added link to docker hub & 1 year ago
docker-compose.yml d79fbf5548 docker-compose: increase memory limit to support large repos (git-remote-gcrypt?) 1 year ago 61ce3306d2 entrypoint: unset processed env vars 1 year ago
sshd_config 2b346a8b11 sshd config: explicitly disable all forms of forwarding (redundant setting) 1 year ago

docker: gitolite 💾 🐳 🐙

OpenSSH server with Gitolite command filter including support for git-annex

$ sudo docker run --name gitolite \
    -v gitolite_ssh_host_keys:/etc/ssh/host_keys \
    -v gitolite_data:/var/lib/gitolite \
    -p 2200:2200 \
    -e GITOLITE_USER_PUBLIC_KEY_someone="$(cat ~/.ssh/id_*.pub)" \
    --read-only --cap-drop=ALL --security-opt=no-new-privileges \

$ ssh -p 2200 -T git@localhost
hello someone, this is git@hostname running gitolite3 3.6.11-2 (Debian) on git 2.20.1

 R W	gitolite-admin
 R W	testing

$ git clone ssh://git@localhost:2200/gitolite-admin.git

$ git clone ssh://git@localhost:2200/testing.git

sudo docker may be replaced with podman.

Pre-built docker images are available at (mirror:

Annotation of signed git tags docker/* contains docker image digests:

Detached signatures of images are available at (exluding automatically built latest tag).

Docker Compose 🐙

  1. git clone
  3. docker-compose up --build