rancher / old-vm

(OBSOLETE) Package and Run Virtual Machines as Docker Containers
Apache License 2.0
645 stars 133 forks source link

Is it possible to do bridged networking under Rancher OS? #60

Open ndarilek opened 8 years ago

ndarilek commented 8 years ago

Running Rancher OS on a large dedicated server with multiple IPs. I was hoping to spin up several Rancher VMs on these separate IPs, route all ports to them via:

docker run -p <some IP>:1-65535:1-65535 -p <some IP>:1-65535:1-65535/udp my/vm

This works if I use individual ports, but I can't use ranges. I even tried adding an EXPOSE for all ports, but that locked up my docker daemon until I removed the offending container.

The docs include instructions for bridging to the host network, but they're written for Ubuntu. Is there any way to achieve this configuration via ros? Or is there some other creative way to do this? Maybe I should run a more traditional OS on the root server and Rancher OS on the individual Rancher host VMs, though I'd really like to keep my OS selection uniform if at all possible.