Table of Contents

Vibemosphere Docker Registry

Private Docker registry on a dedicated port (HTTPS with a certificate of the CA plug-in), login with user and API key (disabled until it is switched on).

Id docker-registry
Role registry - needed for the page and the REST API (administrators always may)
Page Plugins > Open (overlay with an X at the top right) or /plugins/docker-registry/
REST /api/plugins/docker-registry/… and, for callers with the role, /plugins/docker-registry/…

Open the configuration

In the administration open Plugins, select the row of this plug-in and press Open. The page opens in an overlay dialog: close it with the X at the top right, with Esc or by clicking outside; Open in a new tab next to the title shows it full size.

Vibemosphere Docker Registry: the plug-in page in its overlay dialog

The page in detail

docker-registry: first tab, Registry

Tabs

The page is divided into the tabs Registry, How to use, Repositories.

How to use

docker-registry: tab How to use

Repositories

docker-registry: tab Repositories

Dialog: New certificate

Vibemosphere Docker Registry: the dialog of "New certificate"

Fields and columns

Label Meaning
Port
Address (empty: all)
Storage folder
Certificate
Certificate authority (for an own certificate)
Names of the certificate (comma)
Valid days
System
Certificate check
Image (repository:tag)
User
Repository Column of a table
Tag Column of a table
Size Column of a table
Digest Column of a table
Pushed Column of a table
Time Column of a table
Reference Column of a table

Actions

Notes from the page

Reference

A private Docker / OCI registry in Vibecat. The protocol of a registry is the Docker registry HTTP API v2: ordinary HTTP(S) with JSON and binary bodies, so the plug-in uses a normal Tomcat connector: it creates the port docker-registry (Ports page) and answers the registry calls only on that port (everything else there is 404). The plug-in is off until it is switched on.

Security

Supported calls

GET /v2/, /v2/_catalog, /v2/<name>/tags/list version check, repositories, tags
HEAD|GET|DELETE /v2/<name>/blobs/<digest> layers and configs (content addressed, SHA-256)
POST|PATCH|PUT /v2/<name>/blobs/uploads/… upload in one piece or in chunks, also cross repository mount
HEAD|GET|PUT|DELETE /v2/<name>/manifests/<tag|digest> manifests (Docker v2, OCI, manifest lists); a manifest is accepted when its layers are there

The storage is a folder (blobs/sha256/.., repos/<name>/manifests|tags). Remove unused blobs deletes the layers no manifest refers to (and uploads older than a day). Deleting a tag keeps the manifest and its layers until then.

All plug-ins