0

There is a github project VRouter which make Openwrt image as an vbox on macOS and routing the traffic to the NIC of the virtual machine as a transparent proxy. I would like to know that is it possible to do these things o with docker? As fas as I know, docker for mac actually run inside a virtual machine on mac and there is no docker0 NIC on macOS. I found a project tuntaposx and a tuntap support shim installer for Docker for Mac docker-tuntap-osx which make it access docker container inside the virtual machine from macOS instead of publish ports possible. But What's the next step? I am quite confused about network issue. Can someone give me a hint about it?

qiwihui
  • 63
  • 1
  • 4
  • 10

1 Answers1

0

Docker requires a Linux host to run. It's unlikely it will ever directly support MacOS, or Windows, without some kind of VM running.

Docker isn't a virtual machine. It uses various features of the Linux kernel to essentially simulate a virtual server, but it isn't actually doing full virtualization.

user1751825
  • 4,029
  • 1
  • 28
  • 58
  • When using a virtual machine on macOS, we can route to it. And when using docker on linux host, we can route to docker. So is it possible to combine those two steps on macOS? – qiwihui Aug 06 '18 at 07:40