7,540
edits
Changes
Docker
,→Login to the new machine
Check the interfaces of the new VM:
* '''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
<pre>
docker@manager:~$ ifconfig
...
eth0 inet addr:192.168.123.195 Bcast:192.168.123.255 Mask:255.255.255.0
...
eth1 inet addr:192.168.42.118 Bcast:192.168.42.255 Mask:255.255.255.0 >> (this connect to the dynamically created host-only virtual network. >> this is just for VM-to-VM communication)
</pre>