Sign inSign up

alexanderwolz/registry-angular-ui

By alexanderwolz

Updated over 2 years ago

Simple Angular- and Bootstrap-based UI for Docker Registry V2 with authentication- and data-cache

Image
0

1.7K

alexanderwolz/registry-angular-ui repository overview

Docker Registry Angular UI

GitHub release (latest by date) Docker Pulls GitHub GitHub GitHub GitHub GitHub code size in bytes GitHub all releases

🧑‍💻 About

Simple Angular- and Bootstrap-based web application for Docker Registry V2 with auth- and data cache.

🖥️ Preview

Preview

🔬 Basic Concept

  • Web application determines auth provider by www-authenticate header of given registry host (can be basic auth, token auth or empty)

  • Credentials are base64 encoded and encrypted by app secret using cryptoJS

  • Access tokens are being cached for their valid period (expiration minus 5 seconds) and renewed if necessary.

  • Tags, Manifests and Repositories are being cached until page gets reloaded

  • minimizes HTTP traffic as much as possible

  • See also keycloak-docker-group-role-mapper for authentication mapping.

🛠️ Build

Using prebuild image from Docker Hub
  • Download image: docker pull alexanderwolz/registry-angular-ui:latest
Build yourself
  • docker build -t registry-angular-ui:latest .

⚙️ Configuration

This web application supports the following environment variables:

Variable NameDescription
REGISTRY_HOSTURL of the registry to connect to with scheme http/https
TOKEN_SECRETSecret used for encrypting the base64 credentials

🔍 Examples

Tag summary

Content type

Image

Digest

sha256:ccc060437

Size

11.6 MB

Last updated

over 2 years ago

docker pull alexanderwolz/registry-angular-ui