GithubHelp home page GithubHelp logo

brennerm / docker-registry-frontend Goto Github PK

View Code? Open in Web Editor NEW
23.0 6.0 8.0 977 KB

Web-based front end for multiple v1/v2 Docker registries

License: MIT License

Python 68.53% JavaScript 1.91% HTML 27.22% CSS 0.74% Dockerfile 1.59%
docker docker-registry docker-registry-ui

docker-registry-frontend's Introduction

docker-registry-frontend

Web front end to display the content of multiple Docker registries

Build Status Docker Build Status

Feature Overview

  • browse available Docker images and check the availability of multiple Docker registries
  • add and remove registries via the web interface
  • delete repositories and tags (automatically detected if registry supports it)
  • support for Docker registries V1 and V2
  • get detailed information about your Docker images
  • supports Basic Auth protected registries

Installation

$ git clone [email protected]:brennerm/docker-registry-frontend.git && cd docker-registry-frontend
$ pip3 install -r requirements.txt
$ bower install

Usage

$ python3 frontend.py -h
usage: frontend.py [-h] [-d] [-i IP_ADDRESS] [-p PORT] config

positional arguments:
  config

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Run application in debug mode
  -i IP_ADDRESS, --ip-address IP_ADDRESS IP address to bind application to
  -p PORT, --port PORT  Port to bind application to

$ python3 frontend.py config.json

Alternatively you can use the prebuilt Docker image.

docker run -d -p 127.0.0.1:80:80 brennerm/docker-registry-frontend

This makes the front end available at http://127.0.0.1:80.

Configuration

Caching

It's possible to enable a caching functionality to keep the frontend fast even when viewing thousands of repos and tags. By default it's disabled as there is no need for small registries. To enable it set a value for the cache timeout in seconds.

{
  "cache_timeout": 3600
}

Supported storage drivers

The frontend supports various kinds of storages to persists the configuration. The following options are currently implemented:

  • SQLite
{
  "storage": {
    "driver": "sqlite",
    "file_path": "db.sqlite"
  }
}

Set the "file_path" value to ":memory:" to use an in-memory database.

  • JSON File
{
  "storage": {
    "driver": "json",
    "file_path": "db.json"
  }
}

If you'd like to use another storage feel free to create an issue or open a pull request.

Images

Registry Overview

Registry Overview

Repository Overview

Repository Overview

Tag Overview

Tag Overview

Tag Detail

Tag Detail

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.