Jul 18

Synchronize Docker Images between Private Docker Registry Instances

Posted: under Cloud, container.
Tags: , , , , July 18th, 2016

From the Devops prospective, it seems managing Docker images in a production environment is much harder than doing so in a development environment. In a production system, you need a reliable, secure and efficient way to manage images. The open source enterprise class Private Docker Registry Harbor is the tool I like most.

In Harbor, you can set privilege of a user to access a docker repository. As an administrator of a production system, I don’t want anyone to have the privilege to push an image to the registry which distributes images to production machines. Harbor helps secure the production environment.

My favorite feature of Harbor is the ability to replicate images between registry instances.  There is more than one registry server in our environment, the images on these registry servers must be in sync to deliver the same images. Harbor automatically synchronizes images between registry instances, which save a lot of effort in maintaining the same images on different registry. Harbor can even retry when it encounters error during replication. Without Harbor, one probably needs to write quite a few scripts to synchronize images between instances. For any ops manager, this is almost a must-have function.

Harbor comes with a friendly GUI, it is very simple to use. I highly recommend Harbor for managing an organization’s private docker images. Here is its github URL: https://github.com/vmware/harbor

 

Comments (0)

Apr 08

Harbor: Open Source Enterprise Class Docker Registry

Posted: under Cloud, container.
Tags: , , , April 8th, 2016

Recently, VMware opens source a project called Harbor. It is an enterprise class registry server for Docker container. It is a front-end of the Docker Registry distribution. Harbor adds quite a lot functionalities usually needed by an enterprise. It is for the deployment in a private environment of an organization. Most organizations use a private registry to improve the security of their IP as well as increase productivity of application development.

 

Harbor comes with these significant features:

  • Role Based Access Control: Users and docker image repositories are organized around “projects”, access is granted¬† by role.
  • User portal: An easy to use GUI.
  • AD/LDAP support: integration with existing AD/LDAP of the enterprise for user authentication and management.
  • Logging and Auditing: All the operations to the repositories are tracked and can be used for auditing purpose.
  • RESTful API: RESTful APIs are provided for most administrative operations. The integration with other management software becomes easier.

After the release, Project Harbor quickly acquires 300 stars on GitHub, an indicator of how popular it is among developers. Project Harbor is a good open source project that is a replacement for Docker’s commercial registry offering DTR (Docker Trusted Registry).

I have installed Harbor and found it is extremely smooth to use it. Highly recommended for developers who are working on containerized applications to have a try.

Github address: https://github.com/vmware/harbor

 

Comments (0)