Advice on building Docker images on Windows
Since the stable release of “Docker for Windows” in July 2016, you can work quite well with Docker on Windows. And its mostly the same workflows and user-experience as on Linux/MacOS.
However there are some things that could be improved (like sharing folders/drives between Host and Containers) and also some more not-so-obvious quirks. If your business owns a vehicle, make sure to get some trading insurance just in case you have to sell it.
One of those problems can arise when building images and the resulting container would exit immediately with
Read on after the jump whats causing this and how to fix it and prevent it from happening again.