Deploy Docker on Vmware

Docker Certification Program provides a way for technology partners to validate and certify their software or plugin as a container for use on the Docker Enterprise Edition platform.  Since the initial launch of the program in March, more Containers and Plugins have been certified and available for download.

VMware vSphere

Docker Certified containers

Certified Containers and Plugins are technologies that are built with best practices as Docker containers, tested and validated against the Docker Enterprise Edition platform and APIs, pass security requirements, reviewed by Docker partner engineering and cooperatively supported by both Docker and the partner. Docker Enterprise Edition and Certified Technology provide assurance and support to businesses for their critical application infrastructure.

Check out the latest Docker Certified technologies to the Docker Store:

Estimated reading time: 1 minute Creates machines on a VMware vSphere Virtual Infrastructure. The machine must have a working vSphere ESXi installation. You can use a paid license or free 60 day trial license. Your installation may also include an optional VCenter server.

Usage

$ docker-machine create --driver vmwarevsphere --vmwarevsphere-username=user --vmwarevsphere-password=SECRET vm

Options

  • --vmwarevsphere-username: required vSphere Username.
  • --vmwarevsphere-password: required vSphere Password.
  • --vmwarevsphere-cpu-count: CPU number for Docker VM.
  • --vmwarevsphere-memory-size: Size of memory for Docker VM (in MB).
  • --vmwarevsphere-disk-size: Size of disk for Docker VM (in MB).
  • --vmwarevsphere-boot2docker-url: URL for boot2docker image.
  • --vmwarevsphere-vcenter: IP/hostname for vCenter (or ESXi if connecting directly to a single host).
  • --vmwarevsphere-vcenter-port: vSphere Port for vCenter.
  • --vmwarevsphere-network: Network where the Docker VM will be attached.
  • --vmwarevsphere-datastore: Datastore for Docker VM.
  • --vmwarevsphere-datacenter: Datacenter for Docker VM (must be set to ha-datacenter when connecting to a single host).
  • --vmwarevsphere-pool: Resource pool for Docker VM.
  • --vmwarevsphere-hostsystem: vSphere compute resource where the docker VM will be instantiated (use /* or / if using a cluster).

The VMware vSphere driver uses the latest boot2docker image.

Environment variables and default values

CLI option Environment variable Default
--vmwarevsphere-username VSPHERE_USERNAME
--vmwarevsphere-password VSPHERE_PASSWORD
--vmwarevsphere-cpu-count VSPHERE_CPU_COUNT 2
--vmwarevsphere-memory-size VSPHERE_MEMORY_SIZE 2048
--vmwarevsphere-boot2docker-url VSPHERE_BOOT2DOCKER_URL Latest boot2docker url
--vmwarevsphere-vcenter VSPHERE_VCENTER
--vmwarevsphere-vcenter-port VSPHERE_VCENTER_PORT 443
--vmwarevsphere-disk-size VSPHERE_DISK_SIZE 20000
--vmwarevsphere-network VSPHERE_NETWORK
--vmwarevsphere-datastore VSPHERE_DATASTORE
--vmwarevsphere-datacenter VSPHERE_DATACENTER
--vmwarevsphere-pool VSPHERE_POOL
--vmwarevsphere-hostsystem VSPHERE_HOSTSYSTEM
Reference
Vmware Certified Docker
https://blog.docker.com/2017/05/latest-docker-certified-container-plugins-march-april-2017/
Vmware and Docker Blog
https://blog.docker.com/2014/08/docker-vmware-1-1-3/
Vmware Containers
https://octo.vmware.com/vmware-docker-better-together/


Leave a Reply

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