7,540
edits
Changes
Docker
,→Interface list of the new VM
====Interface list of the new VM====
You can log in to the newly created VM with the '''docker-machine ssh <machine_name>''' command
On the newly created docker ready VM, four interfaces were created.
<pre>
# docker-machine ssh manager
* '''eth0''':192.168.123.195 - Interface to the new virtual network (docker-network) created by us. this network is connected to the host network,so it has public internet access as well.
* '''eth1''':192.168.42.118 - This connect to the dynamically created host-only virtual network. Just for VM-to-VM communication
* '''docker0''':172.17.0.1 - This VM is ment to host docker container, so the docker daemon was already installed and started on it. Form docker point of view, this VM is also a (docker) host, and therefore the docker daemon created the default virtual bridge, that the containers will be connected to unless it is specified implicitly otherwise during container creation.
<br>