Installing VMware vSphere Integrated Containers Part 1

0

For those used to working with VMware vSphere virtual machines in the enterprise datacenter, VMware makes the same tooling and interface experience available working with Docker containers in vSphere Integrated Containers or VIC. The really cool thing is that vSphere Integrated Containers is actually all open source and has gone GA as of April. If you want to work with your Docker containers in the same way as your virtual machines as well as plugin your vSphere powered containers with other products in the VMware vSphere portfolio such as NSX and vSAN, then VIC makes all of that possible. How do we get up and running with VIC? In this first post Let’s take a look at Installing VMware vSphere Integrated Containers Docker Toolbox, Networking, and OVA appliance.

Installing Docker Toolbox

The first thing we need to do to have the tools we need to provision VMware vSphere Integrated Containers is the Docker Toolbox. This is freely downloaded from Docker here.  I am using a Windows workstation to deploy so I installed the Docker Toolbox for Windows.  I won’t show all the screens below to bore you as it is very much just a “Next, Next, Finish” type install.

Docker-Toolbox-for-Windows-Install-begins Installing VMware vSphere Integrated Containers Part 1

Docker Toolbox for Windows Install begins

On the select components screen, I wanted to show this as it was a slight little bump.  The installer wants to install VirtualBox by default, however, you can’t uncheck it as it is greyed out.  Since I didn’t want to install VirtualBox, I had to work around this.

Docker-Toolbox-for-Windows-VirtualBox-selected Installing VMware vSphere Integrated Containers Part 1

Docker Toolbox for Windows VirtualBox selected

As it turns out, there is a commandline install with “/components” switch that allows you to select what you want to install.  This simply launches the GUI installer once again with the components unchecked, such as VirtualBox.

Install-Docker-Toolbox-for-Windows-from-commandline Installing VMware vSphere Integrated Containers Part 1

Install Docker Toolbox for Windows from commandline

Now, we see that VirtualBox is unchecked.

Install-Docker-Toolbox-Windows-no-VirtualBox Installing VMware vSphere Integrated Containers Part 1

Install Docker Toolbox Windows no VirtualBox

Docker-Toolbox-installation-finishes Installing VMware vSphere Integrated Containers Part 1

Docker Toolbox installation finishes

Installing VMware vSphere Integrated Containers Networking

One of the first things we need to do to get our vSphere infrastructure ready for vSphere Integrated Containers is create a VIC port group.  This is a special network that will be attached to our VIC Host as well as to the containers that are provisioned.

Create-vSphere-Integrated-Containers-Distributed-Port-Group-1 Installing VMware vSphere Integrated Containers Part 1

Create vSphere Integrated Containers Distributed Port Group 1

Create-vSphere-Integrated-Containers-Distributed-Port-Group-2 Installing VMware vSphere Integrated Containers Part 1

Create vSphere Integrated Containers Distributed Port Group 2

Using Visual Studio Code here, an example of how we can create a new Distributed Port Group for VIC purposes.

Create-vSphere-Integrated-Containers-Distributed-Port-Group-PowerCLI Installing VMware vSphere Integrated Containers Part 1

Create vSphere Integrated Containers Distributed Port Group PowerCLI

We are not to the point of installing the VIC host as of yet, however, as you can see the VIC host will have a connection to your production Management network as well as a connection to the VIC network we just created.

vSphere-Integrated-Containers-VIC-host-network Installing VMware vSphere Integrated Containers Part 1

vSphere Integrated Containers VIC host network

Installing VMware vSphere Integrated Containers Appliance

The OVA appliance can be downloaded from VMware.  You have to have an account to download but you can create one for free.

Download-VMware-vSphere-Integrated-Containers-OVA-appliance Installing VMware vSphere Integrated Containers Part 1

Download VMware vSphere Integrated Containers OVA appliance

The OVA deploy process is pretty straightforward, so again I won’t include all the screens.  On the Review Details screen, we can see the disk requirements, etc.

VMware-vSphere-Integrated-Containers-OVA-Requirements Installing VMware vSphere Integrated Containers Part 1

VMware vSpehre Integrated Containers OVA Requirements

We choose the management network port group that we want to attach to.

VMware-vSphere-Integrated-Containers-Appliance-Networking-config Installing VMware vSphere Integrated Containers Part 1

VMware vSphere Integrated Containers Appliance Networking config

The customize template screen has a lot of user input fields here, including IP address settings, domain search, FQDN of the appliance, Docker registry settings, and many others.

VMware-vSphere-Integrated-Containers-Template-customization Installing VMware vSphere Integrated Containers Part 1

VMware vSphere Integrated Containers Template customization

Once the appliance is deployed, we will see the VM show up as the name we chose in the appliance deploy.

VMware-vSphere-Integrated-Containers-appliance-deployed Installing VMware vSphere Integrated Containers Part 1

VMware vSphere Integrated Containers appliance deployed

Concluding Thoughts

In the first part of the Installing VMware vSphere Integrated Containers series, we looked at getting Docker Toolbox installed, setting up VMware vSphere Integrated Containers networking, as well as deploying the appliance.  In part 2 we will look at deploying our container host as well as deploying our first Docker container.