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)

Sep 12

Overall Architecture of Harbor Registry

Posted: under Cloud, container.
Tags: , , , September 12th, 2016

Not long ago, I introduced the open source private Harbor Registry. In VMworld 2016,  Harbor has become part of the enterprise product VIC (vSphere Integrated Containers) of VMware. VIC now has 3 components, the vic-engine, which is the runtime of containers; the Harbor registry, the registry to store docker container images; the Admiral, the admin portal for managing the container environment.

All of the three components of VIC are open source and available on Github. Anyone can download and use it. For enterprise users of vSphere, they get VIC for free indeed. One of the feature I like most is Harbor registry, it helps replicate docker images from one data center to another, or from private cloud to public cloud. If you have not tried, I strongly recommend you have a trial on Harbor: https://github.com/vmware/harbor .

To find out more information of private registry Harbor, please refer to this article for the Overall Architecture of Harbor . For information about docker container runtime platform VIC, you can visit http://github.com/vmware/vic-product .

Comments (0)