2.1 KiB
2.1 KiB
Microsoft Hyper-V
Creates a Boot2Docker virtual machine locally on your Windows machine using Hyper-V. See here for instructions to enable Hyper-V. You will need to use an Administrator level account to create and manage Hyper-V machines.
Note
: You will need an existing virtual switch to use the driver. Hyper-V can share an external network interface (aka bridging), see this blog. If you would like to use NAT, create an internal network, and use Internet Connection Sharing.
Options:
--hyperv-boot2docker-url: The URL of the boot2docker ISO. Defaults to the latest available version.--hyperv-boot2docker-location: Location of a local boot2docker iso to use. Overrides the URL option below.--hyperv-virtual-switch: Name of the virtual switch to use. Defaults to first found.--hyperv-disk-size: Size of disk for the host in MB.--hyperv-memory: Size of memory for the host in MB. By default, the machine is setup to use dynamic memory.
Environment variables and default values:
| CLI option | Environment variable | Default |
|---|---|---|
--hyperv-boot2docker-url |
- | Latest boot2docker url |
--hyperv-boot2docker-location |
- | - |
--hyperv-virtual-switch |
- | first found |
--hyperv-disk-size |
- | 20000 |
--hyperv-memory |
- | 1024 |