MobyLinuxVM virtual switch -- internal to external, will VM work


docker 17.06
Hyper-V enabled

MobyLinyxVM uses DockerNAT as its internal virtual switch, based on default switch.

Docker on Windows works fine.

Questions :

  1. Can the DockerNAT(internal virtual switch) of MobyLinuxVM (virtual machine used by Docker) be changed to external virtual switch?
    Reason : I’d like to expose the docker daemon to local host, for collecting metrics using Prometheus DB.
  2. If virtual switch of MobiLinuxVM is changed, will docker work again, or will it screw up the VM’s settings? Anyone tried this?