FIX #2705 Add a command line sample for each driver

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2016-01-26 15:35:34 +01:00
parent 8f3d952242
commit 75f138949a
9 changed files with 20 additions and 0 deletions

View File

@ -14,6 +14,8 @@ Create machines on [exoscale](https://www.exoscale.ch/).
Get your API key and API secret key from [API details](https://portal.exoscale.ch/account/api) and pass them to `machine create` with the `--exoscale-api-key` and `--exoscale-api-secret-key` options. Get your API key and API secret key from [API details](https://portal.exoscale.ch/account/api) and pass them to `machine create` with the `--exoscale-api-key` and `--exoscale-api-secret-key` options.
$ docker-machine create --driver exoscale --exoscale-api-key=API --exoscale-api-secret-key=SECRET vm
Options: Options:
- `--exoscale-url`: Your API endpoint. - `--exoscale-url`: Your API endpoint.

View File

@ -22,6 +22,9 @@ The driver will perform a list of tasks on create:
- It will generate certificates to secure the docker daemon - It will generate certificates to secure the docker daemon
- The docker daemon will be restarted, thus all running containers will be stopped. - The docker daemon will be restarted, thus all running containers will be stopped.
$ docker-machine create --driver generic --generic-ip-address=203.0.113.81 vm
Options: Options:
- `--generic-ip-address`: **required** IP Address of host. - `--generic-ip-address`: **required** IP Address of host.

View File

@ -22,6 +22,8 @@ Administrator level account to create and manage Hyper-V machines.
> [Internet Connection > [Internet Connection
> Sharing](http://www.packet6.com/allowing-windows-8-1-hyper-v-vm-to-work-with-wifi/). > Sharing](http://www.packet6.com/allowing-windows-8-1-hyper-v-vm-to-work-with-wifi/).
$ docker-machine create --driver hyperv vm
Options: Options:
- `--hyperv-boot2docker-url`: The URL of the boot2docker ISO. - `--hyperv-boot2docker-url`: The URL of the boot2docker ISO.

View File

@ -18,6 +18,9 @@ Mandatory:
- `--openstack-flavor-id` or `--openstack-flavor-name`: Identify the flavor that will be used for the machine. - `--openstack-flavor-id` or `--openstack-flavor-name`: Identify the flavor that will be used for the machine.
- `--openstack-image-id` or `--openstack-image-name`: Identify the image that will be used for the machine. - `--openstack-image-id` or `--openstack-image-name`: Identify the image that will be used for the machine.
$ docker-machine create --driver openstack vm
Options: Options:
- `--openstack-active-timeout`: The timeout in seconds until the OpenStack instance must be active. - `--openstack-active-timeout`: The timeout in seconds until the OpenStack instance must be active.

View File

@ -12,6 +12,8 @@ parent="smn_machine_drivers"
Create machines on [Rackspace cloud](http://www.rackspace.com/cloud) Create machines on [Rackspace cloud](http://www.rackspace.com/cloud)
$ docker-machine create --driver rackspace --rackspace-username=user --rackspace-api-key=KEY --rackspace-region=region vm
Options: Options:
- `--rackspace-username`: **required** Rackspace account username. - `--rackspace-username`: **required** Rackspace account username.

View File

@ -15,6 +15,8 @@ Create machines on [Softlayer](http://softlayer.com).
You need to generate an API key in the softlayer control panel. You need to generate an API key in the softlayer control panel.
[Retrieve your API key](http://knowledgelayer.softlayer.com/procedure/retrieve-your-api-key) [Retrieve your API key](http://knowledgelayer.softlayer.com/procedure/retrieve-your-api-key)
$ docker-machine create --driver softlayer --softlayer-user=user --softlayer-api-key=KEY --softlayer-domain=domain vm
Options: Options:
- `--softlayer-memory`: Memory for host in MB. - `--softlayer-memory`: Memory for host in MB.

View File

@ -12,6 +12,8 @@ parent="smn_machine_drivers"
Creates machines on [vCloud Air](http://vcloud.vmware.com) subscription service. You need an account within an existing subscription of vCloud Air VPC or Dedicated Cloud. Creates machines on [vCloud Air](http://vcloud.vmware.com) subscription service. You need an account within an existing subscription of vCloud Air VPC or Dedicated Cloud.
$ docker-machine create --driver vmwarevcloudair --vmwarevcloudair-username=user --vmwarevcloudair-password=SECRET vm
Options: Options:
- `--vmwarevcloudair-username`: **required** vCloud Air Username. - `--vmwarevcloudair-username`: **required** vCloud Air Username.

View File

@ -12,6 +12,8 @@ parent="smn_machine_drivers"
Creates machines locally on [VMware Fusion](http://www.vmware.com/products/fusion). Requires VMware Fusion to be installed. Creates machines locally on [VMware Fusion](http://www.vmware.com/products/fusion). Requires VMware Fusion to be installed.
$ docker-machine create --driver vmwarefusion vm
Options: Options:
- `--vmwarefusion-boot2docker-url`: URL for boot2docker image. - `--vmwarefusion-boot2docker-url`: URL for boot2docker image.

View File

@ -12,6 +12,8 @@ parent="smn_machine_drivers"
Creates machines on a [VMware vSphere](http://www.vmware.com/products/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. The vSphere driver depends on [`govc`](https://github.com/vmware/govmomi/tree/master/govc) (must be in path) and has been tested with [vmware/govmomi@`c848630`](https://github.com/vmware/govmomi/commit/c8486300bfe19427e4f3226e3b3eac067717ef17). Creates machines on a [VMware vSphere](http://www.vmware.com/products/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. The vSphere driver depends on [`govc`](https://github.com/vmware/govmomi/tree/master/govc) (must be in path) and has been tested with [vmware/govmomi@`c848630`](https://github.com/vmware/govmomi/commit/c8486300bfe19427e4f3226e3b3eac067717ef17).
$ docker-machine create --driver vmwarevsphere --vmwarevsphere-username=user --vmwarevsphere-password=SECRET vm
Options: Options:
- `--vmwarevsphere-username`: **required** vSphere Username. - `--vmwarevsphere-username`: **required** vSphere Username.