How to Run Nginx Workloads with vSphere Integrated Containers

Now, I’ll demo how easy it is to create a container using VMware’s Integrated Container feature. In this example, we will be creating the container using Docker for Windows.

docker

In machine with docker for windows installed, open PowerShell. We need adding a new environmental variable to that we can point docker to our VCH’s Docker API Endpoint address. Run “docker info” we can see we are now looking at the vSphere Integrated Containers platform.

docker1

Now, let’s create our first conteiner. We’ll run the following syntax:                             docker –tls run -p 8180:80 –name diy_web01 -d nginx docker2

Now we go to test…

docker3

We”ll create a conatiner Linux.                                                                                                docker –tls run –name diy_linux vmware/photon:2.0

docker4.jpg

Thanks in advance!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: