Changes

Jump to: navigation, search

Docker Machine

55 bytes added, 21:38, 27 August 2018
KVM driver
'''Dual Network''':<br>
* '''eth1''' - A host private network called '''docker-machines ''' is automatically created to ensure we always have connectivity to the VMs. ** The docker-machine ip command will always return this IP address which is only accessible from your local system. ** That network is to be used for the swarm management, node to node communication, so this ip has to be provided in the '''--advertise-addr''' parameter in the "'''docker swarm init'''" or in the "'''docker swarm join'''" command.* '''eth0''' - You can specify any libvirt named network. If you don't specify one, the "default" named network will be used.If you have exotic networking topolgies (openvswitch, etc.), you can use virsh edit mymachinename after creation, modify the first network definition by hand, then reboot the VM for the changes to take effect.** Typically this would be your "public" network accessible from external systems** To retrieve the IP address of this network, you can run a command like the following:<pre>docker-machine ssh mymachinename "ip -one -4 addr show dev eth0|cut -f7 -d' '"</pre> 
Driver Parameters:<br>
<br>
 
==Install softwares==

Navigation menu