Aigeruth / private-docker-registry-v2

Docker-Registry v2 configured to use filesystem as storage backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Private Docker distribution (Docker-Registry v2)

This repositry contains a sample production-ready configuration of Docker-Registry v2 for small teams.

Configuration

  • listens on 5000 port,
  • runs as deploy user,
  • uses filesystem as storage backend,
  • stores images under /data,
  • uses in-memory layer information cache,
  • uses data container pattern

Usage

Start Registry in the background:

docker-compose up -d

Updating the Docker-Registry version

Remove the registry service:

docker-compose rm registry

Update the repository and rebuild the registry service:

git pull origin master
docker-compose build registry

About

Docker-Registry v2 configured to use filesystem as storage backend.