Skip to content
VibecatDocumentation

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

  • Save
  • New certificate
  • Download ca.crt
  • Garbage collection (dry run)
  • Remove unused blobs

Notes from the page

  • Copy images without a Docker daemon that trusts this registry - the commands fit the settings above.

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

  • TLS: Docker talks plain HTTP to localhost only, so everything else needs HTTPS. With TLS on, the plug-in asks the CA plug-in for a server certificate for the names you give (host name, IP addresses), keeps it in its data folder and renews it before it expires. Clients must trust the CA: ca.crt (button, or https://host:port/ca.crt) goes to /etc/docker/certs.d/host:port/ca.crt (Linux) or into the trust store.
  • Login: HTTP Basic - user name and password, or an API key as the password (docker login host:port -u user -p vk_…). API keys are made on the Users page (a key has the roles of its user or only the roles you name, may expire, is shown once, can be revoked) and work for every login of Vibecat.
  • Roles: registry pushes, pulls and deletes (if allowed); registry-read pulls; administrators can do everything.
  • Public access (all off by default): Public view opens the image list at https://host:port/ui/ without a login (it shows the images, tags, sizes, and the commands to pull an image and to create a container; otherwise users with the role registry or registry-read see it after a login). Public pull lets everybody read the images without user data. Public push lets everybody push (and only push: deleting always needs a login). Switch these on only on a private network.

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

WIKI · PRIVACY

Your cookie preferences

DokuWiki uses necessary cookies for sessions, sign-in and your preferences. Your choice is stored for one year in a site cookie. Optional external content is loaded only when you allow it. No analytics service is added by this plugin.

Only applies to content explicitly deferred by this plugin. Third-party providers may receive your IP address and set cookies when that content loads.

vibecat/plugins/docker-registry.txt · Last modified: by *.*.*.*