hyperkit: Add --networking option
hyperkit: Add --networking option

Adds a new --networking option to simplify selection of networking modes
for `linuxkit run hyperkit`. The new modes are "docker-for-mac",
"vpnkit" and "none".

By default docker-for-mac will be used for networking. HyperKit will
then connect to the default VPNKit socket location used by Docker for
Mac.

In vpnkit-mode a new VPNKit instance is started and the socket
"vpnkit_eth.sock" is created in the state directory. This mode also
enables port forwarding via 9p and vsock. The vpnkit mode optionally
accepts a path to an existing VPNKit socket. This allows two or more VMs
to be connected to the same virtual network - but only the VM that
created the the socket can use port forwarding.

Mode "none" disables networking.

Signed-off-by: Magnus Skjegstad <9f4ca770b638615ac5c3e0d2da16b77c80c2f2c6@skjegstad.com>

YuPengZTE/linuxkit,davefreitag/linuxkit,YuPengZTE/linuxkit,t-koulouris/linuxkit,davefreitag/linuxkit,zx2c4/linuxkit,ndauten/linuxkit,zx2c4/linuxkit,samoht/linuxkit,eyz/linuxkit,rn/linuxkit,radu-matei/linuxkit,deitch/linuxkit,t-koulouris/linuxkit,mor1/linuxkit,kencochrane/linuxkit,thebsdbox/linuxkit,mor1/linuxkit,t-koulouris/linuxkit,zx2c4/linuxkit,thebsdbox/linuxkit,yankcrime/linuxkit,ndauten/linuxkit,t-koulouris/linuxkit,djs55/linuxkit,kencochrane/linuxkit,radu-matei/linuxkit,rn/linuxkit,rn/linuxkit,djs55/linuxkit,eyz/linuxkit,kencochrane/linuxkit,samoht/linuxkit,radu-matei/linuxkit,linuxkit/linuxkit,davefreitag/linuxkit,furious-luke/linuxkit,konstruktoid/linuxkit,thebsdbox/linuxkit,thebsdbox/linuxkit,yankcrime/linuxkit,ndauten/linuxkit,furious-luke/linuxkit,ndauten/linuxkit,JohnnyLeone/linuxkit,kencochrane/linuxkit,samoht/linuxkit,mor1/linuxkit,djs55/linuxkit,eyz/linuxkit,kencochrane/linuxkit,yankcrime/linuxkit,thebsdbox/linuxkit,ndauten/linuxkit,rn/linuxkit,kencochrane/linuxkit,zx2c4/linuxkit,furious-luke/linuxkit,justincormack/linuxkit,konstruktoid/linuxkit,linuxkit/linuxkit,justincormack/linuxkit,konstruktoid/linuxkit,mor1/linuxkit,yankcrime/linuxkit,davefreitag/linuxkit,JohnnyLeone/linuxkit,furious-luke/linuxkit,samoht/linuxkit,justincormack/linuxkit,radu-matei/linuxkit,furious-luke/linuxkit,yankcrime/linuxkit,ndauten/linuxkit,deitch/linuxkit,eyz/linuxkit,thebsdbox/linuxkit,JohnnyLeone/linuxkit,radu-matei/linuxkit,samoht/linuxkit,eyz/linuxkit,mor1/linuxkit,YuPengZTE/linuxkit,deitch/linuxkit,linuxkit/linuxkit,zx2c4/linuxkit,djs55/linuxkit,konstruktoid/linuxkit,t-koulouris/linuxkit,justincormack/linuxkit,eyz/linuxkit,YuPengZTE/linuxkit,konstruktoid/linuxkit,justincormack/linuxkit,deitch/linuxkit,JohnnyLeone/linuxkit,deitch/linuxkit,konstruktoid/linuxkit,davefreitag/linuxkit,YuPengZTE/linuxkit,yankcrime/linuxkit,djs55/linuxkit,JohnnyLeone/linuxkit,linuxkit/linuxkit,rn/linuxkit,linuxkit/linuxkit,justincormack/linuxkit,YuPengZTE/linuxkit