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:

  • docker-compose yml running a script after up
  • How does docker image size impact runtime characteristics?
  • How to create Dockerfile in Boot2docker to create an image
  • “Caching” intermediate Docker build
  • Docker / Celery: Can't get celery to run
  • How to get Image ID of docker in jenkins?
  • 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?

  • Best way to have Jenkins “update” a running docker container when the image has been updated
  • Permission denied on accessing host directory in docker
  • Is there an easy way to run an ipynb against an already running kernel non-interactively?
  • fork/exec ./debug: operation not permitted
  • Using Docker in development for Java EE applications
  • mongodb connection refused docker-compose
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.