Vagrantfile
docker-machine create -d virtualbox <hostname>
, but it is important to change the network Adapter Type
in order to make the network bridge work. It is easy on Vagrantfile
to do that, which looks like this:docker1
and shared network shared_nw
docker-machine ssh host1
to log in to host1, but you need to use vagrant ssh
instead, because 192.168.33.10 will be once deleted in the process.eth1
if you/etc/network/interfaces
like this:/etc/rc.local
(before exit 0
):