Docker – Save/Build image

The simplest and most dependable way to build any kind of container image is to use a Dockerfile and docker build. Both of these work great with Docker Windows containers. Details here:

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/docker/manage_windows_dockerfile
https://msdn.microsoft.com/en-us/virtualization/windowscontainers/docker/optimize_windows_dockerfile