Docker hyper-V cannot access the virtual machine

< H2 > Environment < / H2 >
  1. win10 Professional
  2. enable hyper-v
  3. install "docker for windows installer.exe"
< H2 > data < / H2 >

hyper-v Manager
clipboard.png

mobyLinuxVM

power shell
clipboard.png

clipboard.png

  1. docker
    docker-machine.exe ip
  2. hyper-vmobyLinuxVM
    clipboard.png
  3. Why published ip is localhost when the port is bound. Isn"t this my native ip? Shouldn"t virtual machines have their own ip? Or because the network adapter of the virtual machine defaults to dockerNAT about
Mar.07,2021

seems to be unable to connect through SSH. But there are other ways to use
this is the method: https://stackoverrun.com/cn/q.
this is a more detailed discussion: https://forums.docker.com/t/h.. .


encountered the same problem. Did the landlord solve the problem? Is there a big god who can solve it?

Menu