Skip to content

Instantly share code, notes, and snippets.

@kpettijohn
Created August 3, 2015 15:35
Show Gist options
  • Save kpettijohn/2aa4bfce6c6bfb2d1f3f to your computer and use it in GitHub Desktop.
Save kpettijohn/2aa4bfce6c6bfb2d1f3f to your computer and use it in GitHub Desktop.
Example docker-machine vSphere create
#!/bin/bash
# Example docker-machine vSphere create
export VSPHERE_CPU_COUNT=4
export VSPHERE_MEMORY_SIZE=8192
export VSPHERE_DISK_SIZE=100000
export VSPHERE_VCENTER="vcenter.doamin.com"
export VSPHERE_USERNAME="DOAMIN\user"
export VSPHERE_PASSWORD=""
export VSPHERE_NETWORK="VM Traffic"
export VSPHERE_DATASTORE="datastore_name"
export VSPHERE_DATACENTER="datacenter_name"
export VSPHERE_POOL="/datacenter_name/host/host_name/Resources/pool_name"
export VSPHERE_COMPUTE_IP=""
docker-machine create -d vmwarevsphere docker-vsphere
@alexellis
Copy link

Can VSPHERE_POOL be left blank? How do you get the boot2docker iso file into the datastore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment