vSphere Integrated Containers

Installing VMware vSphere Integrated Containers Part 1

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
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
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
Install Docker Toolbox for Windows from commandline

Now, we see that VirtualBox is unchecked.

Install-Docker-Toolbox-Windows-no-VirtualBox
Install Docker Toolbox Windows no VirtualBox
Docker-Toolbox-installation-finishes
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
Create vSphere Integrated Containers Distributed Port Group 1
Create-vSphere-Integrated-Containers-Distributed-Port-Group-2
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
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
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
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
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
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
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
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.

Subscribe to VirtualizationHowto via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.