Project Harbor in action

harborA short time back, I showed you how to change the Project Harbor configuration to use persistent storage provided by docker volume driver for vSphere and save your images on Virtual SAN. In this post, I will show you how to use Project Harbor by adding a new user to Harbor, create a new project for this user, login to Harbor via docker, and then push and pull image from the Project Harbor repo. While these instructions are simplified just to get you started, you should refer to the official project hard documentation which is available on the github site. The user guide can be found here.

Continue reading

Using vSphere docker volume driver to run Project Harbor on VSAN

harborProject Harbor is another VMware initiative in the Cloud Native Apps space. In a nutshell, it allows you to store and distributes Docker images locally from within your own infrastructure. While Project Harbor provides security, identity and management of images, it also offers better performance by having the registry closer to the build and run environment for image transfers. Harbor also supports multiple deployments so that you can have images replicated between them for high availability. You can get more information (including the necessary components) about Project Harbor on github.

In this post, we will deploy Project Harbor in Photon OS, and then create some docker volumes on Virtual SAN using the docker volume driver for vSphere. This will provide an additional layer of availability for your registry and images, because if one of the physical hosts in your infrastructure hosting Project Harbor fails, there is still a full copy of the data available. Special thanks to Haining Henry Zhang of our Cloud Apps team for helping me understand this process.

Continue reading

Container Networks in VIC 0.4.0

docker networksThis is part of a series of articles describing how to use the new features of vSphere Integrated Containers (VIC) v0.4.0. In previous posts, we have looked at deploying your first VCH (Virtual Container Hosts) and container using the docker API. I also showed you how to create some volumes to provide consistent storage for containers. In this post, we shall take a closer look at networking, and what commands are available to do container networking. I will also highlight some areas where there is still work to be done.

Also, please note that VIC is still not production ready. The aim of these posts is to get you started with VIC, and help you to familiarize yourself with some of the features. Many of the commands and options which work for v0.4.0 may not work in future releases, especially the GA version.

Continue reading

Getting started with vSphere Integrated Containers (short video)

I decided to put together a very short video on VIC – vSphere Integrated Containers v0.4.0. In the video, I show you how to create your very first VCH (Virtual Container Host) and then I show you how you can create a very simple container using a docker API endpoint. I also show you how this is reflected in vSphere. Of course, VIC v0.4.0 is still a tech preview, and is not ready for production. Also note that a number of things may change before the VIC becomes generally available (GA). However, hopefully this is of interest to those of you who wish to get started with v0.4.0.



For more information on VIC v0.4.0, visit us on github.

Deploy Docker Swarm using docker-machine with Consul on Photon Controller

docker-swarmIn this post I will now show you the steps involved in creating a Docker Swarm configuration using docker-machine with Photon Controller driver plugin. In previous posts, I showed how you can setup Photon OS to deploy Photon Controller and I also showed you how to build docker-machine for Photon Controller. Note that there are a lot of ways to deploy Swarm. Since I was given a demonstration on doing this using “Consul” for cluster membership and discovery, that is the mechanism that I am going to use here. Now, a couple of weeks back, we looked at deploying Docker Swarm using the “cluster” mechanism also available in Photon Controller. This mechanism used “etcd” for discovery, configuration, and so on. In this example, we are going to deploy Docker Swarm from the ground up, step-by-step, using the docker-machine with photon controller driver, but in this example we are going to use “Consul” which does something very similar to “etcd”.

Continue reading

Compare and Contrast: Photon Controller vs VIC (vSphere Integrated Containers)

PHOTON_square140As many regular reader will be aware, I’ve been spending a lot of time recently on VMware’s Cloud Native App solutions. This is due to an internal program available to VMware employees called a Take-3. A Take-3 is where employees can take 3 months out of their current role and try a new challenge in another part of the company. Once we launched VSAN 6.2 earlier this year, I thought this would be an opportune time to try something different. Thanks to the support from the management teams in both my Storage and Availability BU (SABU) and the Cloud Native Apps BU (CNABU),  I started my Take-3 at the beginning of May. This is when my CNA articles on VIC (vSphere Integrated Containers) and Photon Controller first started to appear. Only recently I was asked an interesting question – when would I use VIC and when would I use Photon Controller? That is a good question, as both products enable customer to use containers on VMware products and solutions. So let me see if I can provide some guidance, as I asked the same question from some of the guiding lights in the CNABU.

Continue reading

See you at VMworld 2016

vmworld2016I’m thrilled to have had a session accepted at this year’s VMworld. I’m also going to be a co-speaker on another session. As you might have guessed, both presentations are on Virtual SAN (VSAN), and I am co-presenting both sessions with my buddy Paudie O’Riordan.

In the first session, we will be talking about how to conduct a successful proof of concept (PoC) on VSAN, which will cover how to prepare, how to test, and what gotchas you need to be aware of when going through a PoC with VSAN. This session, STO7535, will take place on Wednesday, September 1st at 08:30am in Mandalay L, Level 2.

In the other session, which covers day #2 operations, we will cover items like upgrades, troubleshooting, remediation, and monitoring of VSAN, and all those other things that you need to care about when you have VSAN in production. This session, STO7534, will take place on Tuesday, August 31st at 11:30am in Islander G, Level 1.

[Update] I will also be spending some time at the VMware {code} booth on Wednesday afternoon. Alan Renouf has asked me to pop along and talk about some of VMware’s Cloud Native Application products that I have been working on over the past few months, so if you are interested in learning more about our docker volume driver for vSphere, vSphere Integrated Containers, Photon Platform or Project Harbor I’ll be at the booth at 2pm and again at 3.30pm on Wednesday.