Skip to content

Commit 75f1389

Browse files
committed
FIX docker-archive-public#2705 Add a command line sample for each driver
Signed-off-by: David Gageot <david@gageot.net>
1 parent 8f3d952 commit 75f1389

File tree

9 files changed

+20
-0
lines changed

9 files changed

+20
-0
lines changed

docs/drivers/exoscale.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Create machines on [exoscale](https://www.exoscale.ch/).
1414

1515
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.
1616

17+
$ docker-machine create --driver exoscale --exoscale-api-key=API --exoscale-api-secret-key=SECRET vm
18+
1719
Options:
1820

1921
- `--exoscale-url`: Your API endpoint.

docs/drivers/generic.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ The driver will perform a list of tasks on create:
2222
- It will generate certificates to secure the docker daemon
2323
- The docker daemon will be restarted, thus all running containers will be stopped.
2424

25+
26+
$ docker-machine create --driver generic --generic-ip-address=203.0.113.81 vm
27+
2528
Options:
2629

2730
- `--generic-ip-address`: **required** IP Address of host.

docs/drivers/hyper-v.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Administrator level account to create and manage Hyper-V machines.
2222
> [Internet Connection
2323
> Sharing](http://www.packet6.com/allowing-windows-8-1-hyper-v-vm-to-work-with-wifi/).
2424
25+
$ docker-machine create --driver hyperv vm
26+
2527
Options:
2628

2729
- `--hyperv-boot2docker-url`: The URL of the boot2docker ISO.

docs/drivers/openstack.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Mandatory:
1818
- `--openstack-flavor-id` or `--openstack-flavor-name`: Identify the flavor that will be used for the machine.
1919
- `--openstack-image-id` or `--openstack-image-name`: Identify the image that will be used for the machine.
2020

21+
22+
$ docker-machine create --driver openstack vm
23+
2124
Options:
2225

2326
- `--openstack-active-timeout`: The timeout in seconds until the OpenStack instance must be active.

docs/drivers/rackspace.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ parent="smn_machine_drivers"
1212

1313
Create machines on [Rackspace cloud](http://www.rackspace.com/cloud)
1414

15+
$ docker-machine create --driver rackspace --rackspace-username=user --rackspace-api-key=KEY --rackspace-region=region vm
16+
1517
Options:
1618

1719
- `--rackspace-username`: **required** Rackspace account username.

docs/drivers/soft-layer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Create machines on [Softlayer](http://softlayer.com).
1515
You need to generate an API key in the softlayer control panel.
1616
[Retrieve your API key](http://knowledgelayer.softlayer.com/procedure/retrieve-your-api-key)
1717

18+
$ docker-machine create --driver softlayer --softlayer-user=user --softlayer-api-key=KEY --softlayer-domain=domain vm
19+
1820
Options:
1921

2022
- `--softlayer-memory`: Memory for host in MB.

docs/drivers/vm-cloud.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ parent="smn_machine_drivers"
1212

1313
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.
1414

15+
$ docker-machine create --driver vmwarevcloudair --vmwarevcloudair-username=user --vmwarevcloudair-password=SECRET vm
16+
1517
Options:
1618

1719
- `--vmwarevcloudair-username`: **required** vCloud Air Username.

docs/drivers/vm-fusion.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ parent="smn_machine_drivers"
1212

1313
Creates machines locally on [VMware Fusion](http://www.vmware.com/products/fusion). Requires VMware Fusion to be installed.
1414

15+
$ docker-machine create --driver vmwarefusion vm
16+
1517
Options:
1618

1719
- `--vmwarefusion-boot2docker-url`: URL for boot2docker image.

docs/drivers/vsphere.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ parent="smn_machine_drivers"
1212

1313
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).
1414

15+
$ docker-machine create --driver vmwarevsphere --vmwarevsphere-username=user --vmwarevsphere-password=SECRET vm
16+
1517
Options:
1618

1719
- `--vmwarevsphere-username`: **required** vSphere Username.

0 commit comments

Comments
 (0)