How “forward” whole network into a host in Vagrant setup?
I have setup: Windows (host) => Centos (Vagrant/Virtualbox, guest) => Docker
I have docker0 network in the guest machine.
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:84:8b:78:31 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I'd like to make it visible from the host.
What kind of network should I set up: Bridge, NAT, or something else?..
I have docker0 network in the guest machine.
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:84:8b:78:31 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I'd like to make it visible from the host.
What kind of network should I set up: Bridge, NAT, or something else?..
Комментарии
Отправить комментарий