Docker inside VirtualBox

Short: Is it possible to run docker container (microsoft/windowsservercore) inside VirtualBox (Windows 10 Enterprise). Host OS is Windows 10 Professional?

Long: I managed to install and start docker inside VirtualBox (Win10Ent), but when I try to create container I get the following error:

  • Centralised configuration of docker-compose services
  • Build a Docker image remotely using Node.js
  • Nginx can't talk to PHP-fpm in Docker
  • issue with the docker compose file
  • Sharing volume between docker containers
  • How to use docker to spin up postgres database
  • docker.exe: Error response from daemon: container b9aef43f6b30853bc1f32fc663fdb5155a62f0dcb4be860c23a8b48fefae4d0a encountered an error during CreateContainer: failure in a Windows system call: No hypervisor is present on this system.

    Here is similar question and the conclusion is that VirtualBox does not support nested virtualization, so Docker cannot be run inside of it.

    Having that said what is the option of VirtualBox machine under Settings -> System -> Acceleration -> Hardware Virtualization?
    Can you explain what this Settings tab really means if VirtualBox does not support nested virtualization?

  • How to deploy web service on Docker container
  • error parsing HTTP 404 response body: invalid character '<' looking for beginning of value docker
  • 'Kubectl' throws error 'failed to negotiate an api version' while installing using docker
  • Jenkins: pass (environment) variable to Docker while building the image
  • How do I run yesod init from a docker container?
  • Docker environment variables, dokku-redis
  • One Solution collect form web for “Docker inside VirtualBox”

    Virtualbox hardware virtualization option is to allow the virtualization capabilities provided by the processor( This does not help with nested virtualization.
    You can run in Docker in Virtualbox as long as there is no hypervisor running inside. That is the case when we run Docker on Linux systems in Virtualbox. With Windows server, they run hyperv as well on top of which they run Windows server where Docker runs. Thats why nested virtualization is needed here. For this case, use something like Vmware player that supports nested virtualization. I use VMware player for cases where nested virtualization is needed. The other option is to use native Windows server that has hyperv.

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