Docker on Windows randomly crashes with 0xc0370106 when DockerFile has too many commands

We have a dockerfile on microsoft/iis:10.0.14393.206 that runs IIS/PHP.

If we add too many commands the build starts to crash with this error:

  • Mongo docker with volume get error
  • Nginx in Docker container gets `connection reset` error, but works fine without a container
  • Bluemix can not list docker images
  • meteor webpack did not hot reload
  • Docker + NGINX + SSL
  • Trying to send messages between Docker containers using rabbitmq
  • Container d6f3e9bd6f3e9bd6f3e9bd6f3e9b encountered an error during Start: failure in a Windows system call: The compute system exited unexpectedly. (0xc0370106)

    If I run the same build command it will work after a few tries.

    I am running docker version: 17.06.0-rc4-ce-win15 (12573)
    System: Windows 10 build 15063.413, 16GB RAM, i5-6440HQ CPU 2.60GHz

    Is there a way to build a large dockerfile without it crashing? Is this some type limitation with Docker for windows?

  • Django and nginx with docker compose - static files are not loaded
  • MongoDB Authentication failed with mule api connector
  • connecting tomcat webapp running in docker container to mysql
  • Intrigue.io with Docker
  • How can I remove the Cmd entry from a Docker image configuration?
  • Php application started working slowly with docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.