Changes

Jump to: navigation, search

Docker

31 bytes removed, 21:50, 22 June 2018
Hypervisor drivers
The default value of the driver parameter is "virtualbox".
'''docker-machine''' can create and manages VMs manage virtual hosts on the local host machine and on remote clouds. Always the chosen driver determines where and how the virtual machine will be created. The guest operating system that is being installed on the new machine is also determined by the hypervisor driver. E.g. with the "virtualbox" driver you can create machines locally using the boot2docker as the guest OS.
The driver also determines the virtual network types and interfaces types that are created inside the virtual machine. E.g. the KVM driver creates two virtual networks (bridges), one host-global and one host-private network, and name of the host-private network is hardcoded.
In the '''docker-machine create''' command, the available driver options are also determined by the driver. You always has to check the available options at the provider vandor of driver. For cloud drivers typical options are the remote url, the login name and the password. Some driver allows to change the guest OS, the CPU number or the default memory.
Here is a complete list of the currently available drivers: https://github.com/docker/docker.github.io/blob/master/machine/AVAILABLE_DRIVER_PLUGINS.md
===KVM driver===
Here is the KVM driver home page: https://github.com/dhiltgen/docker-machine-kvm
Minimum Parameters:
* --driver kvm:
* --kvm-network: The name of the kvm virtual (public) network that we would like to use. If this is not set, the new machine will be connected to the '''"default"''' KVM virtual network.
*--kvm-cache-mode Sets the caching mode of the kvm machine. Defaults to default.
*--kvm-io-mode-url Sets the disk io mode of the kvm machine. Defaults to threads.
 
 
==Install softwares==

Navigation menu