docker-registry-driver-git

Docker registry backend git driver


License
CERN-OHL-P-2.0
Install
pip install docker-registry-driver-git==0.9.001

Documentation

Docker registry git driver

This is a docker-registry backend driver which stores images in a git repository.

PyPI version

Usage

docker run -d -p 5000:5000 -e LOGLEVEL=debug --name reg pyotr777/registry

Alternative usage

Build registry image with Dockerfile

$ wget https://raw.githubusercontent.com/pyotr777/docker-registry-driver-git/master/Dockerfile
$ docker build --rm -t <image name> .
$ docker run -d -p 5000:5000 -e LOGLEVEL=debug --name reg <image name>

<image name> format is your name/image name, for example: peter/registry.

Options

option name description
--name can be anything
LOGLEVEL can be debug, info, warn, error or critical
STORAGE_PATH Path to git repository where images are stored. Set it with -e STORAGE_PATH=/some/path
SETTINGS_FLAVOR Change storage backend driver. Default is "dev" which will use gitdriver. For details of switching drivers see here: http://github.com/docker/docker-registry#configuration-flavors .