Sep 28

Virtual SAN Docker Volume for Harbor Private Registry HA

Posted: under Cloud, container, Harbor.
Tags: , , September 28th, 2016

VMware has offered a beta version of docker volume driver for vSphere, it supports NFS, VSAN, VMFS and other storage. Before this volume driver, virtual machine (VM) is the only way to consume the storage of vSphere.  The way the Docker volume driver works is that it is mounted as a volume into the Docker host (either virtual or physical machine). If the docker host crashes, the volume can be remounted to other host. In this way, it can achieve high availability in some scenario, especially when the storage is sharable.

vSphere Volume driver for VSAN and Harbor

In the article Private Docker Registry Harbor Achieves HA based on Virtual SAN, step-by-step instructions have been given to set up a Docker private registry using open source Harbor. The private registry Harbor is in fact a containerized application, it can hook up an external volume and use it as storage. This is a good example of how to make use of a shared storage provided by vSphere (such as VSAN).

More articles on Harbor:

Using Harbor Registry REST API via Swagger

The Architecture of Open Source Harbor Registry Server

Comments (0)

Sep 16

Swagger in Harbor Registry

Posted: under Cloud, container, Harbor.
Tags: , , September 16th, 2016

In my previous post, I introduced the overall architecture of Harbor registry. Many users start to integrate the open source private registry Harbor into their own container solution. For example, a startup called Dataman has embedded Harbor into their offering of a CaaS(Container as a Service) solution. Harbor provides a very useful API for the interoperability of other systems. The API specification is defined and documented in the most popular form: Swagger.

The recent blog post Working with Harbor Registry REST API via Swagger described how to leverage Swagger to test the REST API of Harbor registry server. By using Swagger, you can write your own code to fulfill functionalities such as setting permission of images and getting meta data of images and image synchronization between registry instances.

If you are an advanced user or developer of using an enterprise private Docker registry, you should definitely look into Harbor Registry for extending your use cases.

Comments (0)