vSphere Mobile Watchlist

 View Only
Expand all | Collapse all

Error running Docker contaner on a VMWare hosted Windows 10 machine

  • 1.  Error running Docker contaner on a VMWare hosted Windows 10 machine

    Posted Jun 17, 2019 07:11 AM

    I have a windows 10 machine that is hosted on VMWare (vShpere 6.2 ) . I'm trying to run docker container on this machine and I've installed 'Docker for Windows' on the machine. When running the hello-world container I'm getting the following error.

    c:\> docker run hello-world
    docker: Error response from daemon: container b631237e1d24f87c3a578a753f550ce30aaaf1b5e21b984db5da7b59a83d7c20 encountered an error during CreateContainer: failure in a Windows system call: No hypervisor is present on this system. (0xc0351000)

    The same instructions works on physical machine with windows 10. Hyper-V is enabled on the guest windows-10 machine.

    I've found instructions on https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization/TelltheBell but this is related to Hyper-V and not vmware.

    Are there any instructions on how to run docker on a VMWare hosted windows OS? My purpose of using 'Docker for Windows' is so that I'd be able to run windows-continer on the windows-10 guest OS on vware.



  • 2.  RE: Error running Docker contaner on a VMWare hosted Windows 10 machine

    Broadcom Employee
    Posted Jun 17, 2019 08:48 AM

    Greetings,

    Docker runs natively on most Linux distributions, but for Windows one would need execute some additional steps to enable Hyper-V.

    Docker Desktop for Windows requires Microsoft Windows 10 Professional or Enterprise 64-bit.

    If you have that version make sure you install it and then agree to enable Hyper-V:

    For previous versions get Docker Toolbox. The Docker team has provided a very extensive manual on how to set up Docker Toolbox for Windows.

    After running it, please follow the steps in the PDF that you downloaded.