docker-registry-frontend

所属分类:前端开发
开发工具:Python
文件大小:157KB
下载次数:0
上传日期:2022-03-14 09:47:43
上 传 者sh-1993
说明:  用于多个v1 v2 Docker注册中心的基于Web的前端
(Web-based front end for multiple v1 v2 Docker registries)

文件列表:
.auth (0, 2018-10-07)
.auth\htpasswd (71, 2018-10-07)
.bowerrc (46, 2018-10-07)
.certs (0, 2018-10-07)
.certs\domain.crt (1935, 2018-10-07)
.certs\domain.key (3272, 2018-10-07)
.travis.yml (134, 2018-10-07)
Dockerfile (807, 2018-10-07)
LICENSE (1060, 2018-10-07)
bower.json (627, 2018-10-07)
config.json (72, 2018-10-07)
docker-compose.yml (734, 2018-10-07)
docker-registry-frontend.conf (198, 2018-10-07)
docker_registry_frontend (0, 2018-10-07)
docker_registry_frontend\__init__.py (0, 2018-10-07)
docker_registry_frontend\cache.py (664, 2018-10-07)
docker_registry_frontend\manifest.py (1849, 2018-10-07)
docker_registry_frontend\registry.py (11197, 2018-10-07)
docker_registry_frontend\storage.py (4554, 2018-10-07)
docker_registry_frontend\test_manifest.py (7868, 2018-10-07)
docker_registry_frontend\test_storage.py (1824, 2018-10-07)
frontend.py (6741, 2018-10-07)
img (0, 2018-10-07)
img\registry_overview.png (43448, 2018-10-07)
img\repo_overview.png (43433, 2018-10-07)
img\tag_detail.png (50508, 2018-10-07)
img\tag_overview.png (42607, 2018-10-07)
requirements.txt (6, 2018-10-07)
static (0, 2018-10-07)
static\js (0, 2018-10-07)
static\js\connection_test.js (604, 2018-10-07)
static\js\table.js (296, 2018-10-07)
static\js\timeago.js (65, 2018-10-07)
static\styles (0, 2018-10-07)
static\styles\custom.css (377, 2018-10-07)
templates (0, 2018-10-07)
templates\breadcrumbs.html (727, 2018-10-07)
... ...

# docker-registry-frontend Web front end to display the content of multiple Docker registries [![Build Status](https://travis-ci.org/brennerm/docker-registry-frontend.svg?branch=master)](https://travis-ci.org/brennerm/docker-registry-frontend) [![Docker Build Status](https://img.shields.io/docker/build/brennerm/docker-registry-frontend.svg)](https://hub.docker.com/r/brennerm/docker-registry-frontend/) ## 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 git@github.com: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. ```json { "cache_timeout": 3600 } ``` ### Supported storage drivers The frontend supports various kinds of storages to persists the configuration. The following options are currently implemented: - SQLite ```json { "storage": { "driver": "sqlite", "file_path": "db.sqlite" } } ``` Set the "file_path" value to ":memory:" to use an in-memory database. - JSON File ```json { "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](/img/registry_overview.png) ### Repository Overview ![Repository Overview](/img/repo_overview.png) ### Tag Overview ![Tag Overview](/img/tag_overview.png) ### Tag Detail ![Tag Detail](/img/tag_detail.png)

近期下载者

相关文件


收藏者