7,540
edits
Changes
Docker
,→Check what was created
* '''virbrDocker''': That is the virtual network that we created in libvirt. This is connected to the host network with NAT. We assigned these IP addresses, when we defined the network.
* '''virbr1''': That is the host-only virtual network that was created out-of-the-box. This one has no internet access.
<br>
====Interface list of the new VM====
You can log in to the newly created VM with the '''docker-machine ssh <machine_name>''' command
* '''eth0''':192.168.123.195 - Interface to the new virtual network (docker-network) created by us. this network has public internet connection
* '''eth1''':192.168.42.118 - This connect to the dynamically created host-only virtual network. Just for VM-to-VM communication
<br>
====Routing table====
192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 virbrDocker <<<this
</pre>
<br>
====IPtables modifications====