Splitting out docs Fixing location of help entering in changes from testing Filling in some missing structure Updating with the comments from Nathan Updating with the comments from Nathan Updating after talk with Evan/Nathan Signed-off-by: Mary Anthony <mary@docker.com>
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:
--hyper-v-boot2docker-url: The URL of the boot2docker ISO. Defaults to the latest available version.--hyper-v-boot2docker-location: Location of a local boot2docker iso to use. Overrides the URL option below.--hyper-v-virtual-switch: Name of the virtual switch to use. Defaults to first found.--hyper-v-disk-size: Size of disk for the host in MB.--hyper-v-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 |
|---|---|---|
--hyper-v-boot2docker-url |
- | Latest boot2docker url |
--hyper-v-boot2docker-location |
- | - |
--hyper-v-virtual-switch |
- | first found |
--hyper-v-disk-size |
- | 20000 |
--hyper-v-memory |
- | 1024 |