Docker Host And Other Fundamental Questions

I am new to Docker. And have few easy questions hope you could help.

I have a windows 10 machine which installed “docker for windows”. In its HyperV manager I could see a virtual machine called “MobyLinuxVM”.

  • Docker build fails with Hash Sum Mismatch error [closed]
  • 502 Bad Gateway on Docker, NPM, PHPFPM and Symfony
  • OS for Docker Image - Flavors
  • Connect spark master to spark slave through docker compose
  • docker container hostname sequential number
  • SaltStack doesn't start docker container
  • So my questions are:

    1, When people talking about “Docker Host” and “Docker Engine”, what are they according to my situation?

    — I assume “Docker Host” should be my windows PC, and “Docker Engine” is that Virtual machine inside Hyper-V.

    2, If I use ipconfig to see my PC, I will find I got at lease 2 networks and IP addresses:

      (a) Lan Adapter -- show my IP is
      (b) DockerNAT -- show my IP is

    Then when I try to use dock-compose.yml to create container, I found I could ONLY use:


    to create container and can be directly accessed (e.g. via browser to Magento website). So question is:

    If my machine is within Docker network, then what is why I cannot use e.g.

    3, My yml script actually contains multiple containers creation — e.g. 2 Magento containers + 2 MariaDB containers + etc. When I specify their docker ‘HOST’, why it’s not my machine? (If we call my machine to be ‘docker host’ & hyper-v virtual image to be ‘docker engine’ in my 1st question.)

    4, Also according to my 3rd question, I current deploy all containers within 1 host. Is it worth to use Docker Swarm which people can use to cluster multiple Docker hosts? If so, does that mean I need to use Hyper-V to create another “MobyLinuxVM”?

    Thanks a lot!

  • IBM Container deployment failure
  • How to Install Private Python Package as Part of Build
  • Empty response while making a GET http request to the localhost server using Go
  • cassandra error keyspace does not exist
  • Error deploying Play Framework on AWS Beanstalk Docker
  • How to use env attribute of Vagrant Docker provider?
  • One Solution collect form web for “Docker Host And Other Fundamental Questions”

    1 Docker Engine + Docker Host

    The Docker Engine is the group of processes that manage Docker containers. dockerd is usually the head of that process tree.

    The Docker Host is the OS running Docker engine, that is MobyLinuxVM

    Your VM host is your Windows box.

    2 Docker Host IP is most likely the address assigned to MobyLinuxVM. I don’t run Docker for Windows so can’t entirely confirm but searching the web seems to back this up.

    3 – see 1

    4 Swarm

    You would need to run multiple VMs to setup swarm. Docker machine is the tool to use when setting up swarm instances. It allows you to manage multiple Docker instances and comes with a HyperV driver.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.