Skip to content

AKoetsier/docker-index

 
 

Repository files navigation

Build Status

Overview

The purpose of this project is to provide the docker masses with an authenticated docker index for their own docker registry that has real repository access controls instead of just using htaccess on a reverse proxy.

Technically now called the Docker Hub (by Docker), this is an independently developed version using the Docker Hub and Registry Spec and throw a tiny bit of reverse engineering.

This is a functioning Docker Index (Docker Hub) that can be run independent of the Docker Registry software.

This project does not have a front-end UI for administration or for viewing of repositories and images, to be able to view this information you will have to use the command line tool that was written to work with it.

Features

  • Access Controls Per Namespace or Repo (read, write, admin)
  • Webhooks (For New Images and All Image Pushes)
    • Can be disabled in the config
    • History is kept, but can be disabled in the config
  • Internal API to Facilitate Management of the Index
  • Command Line Tool to simplify the management of the Index
  • Account Registration by just doing a docker login (can be disabled in the config)
    • New accounts can also be disabled by default

Installation

Check out the Installation Document

Configuration

Check out the Configuration Document

API Documentation

API Docs Coming Soon

Management / CLI Tool

To facilitate working with the docker-index more easily, there is a command line tool available. https://github.com/ekristen/docker-index-cli

All management is done via the new command line tool over at https://github.com/ekristen/docker-index-cli

Other Information

Initial Admin Account

When you start the docker index application for the first time, a first run text will be displayed to standard out. This text will contain the randomly set password for the default admin account.

Access Levels (Permissions)

There are three access levels (aka permissions) for a namespace and/or repo combination. They are read, write, admin.

  • read is pretty self explanatory, gives the user full read access to the namespace and/or namespace repo combo.
  • write gives a user write access only, this is useful for automation scripts that you want to only have access to upload to a repo.
  • admin gives a user read, write, and delete (not implemented) access to a namespace and/or namespace/repo.

About

Open Source Docker Index Built with Node.JS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%