Various Dockerfiles for Windows. Most of these can be run as Windows Containers on Windows 10, Windows Server 2016, Windows Server 1803 and Windows Server 2019.
Most of these Dockerfiles are automatically built on AppVeyor and pushed to Docker Hub. See the badges in each sub folder's README files.
windows_10
Vagrant box.windows_2016_docker
Vagrant box.vagrant up 2016
.docker-windows-azure
templatewindows_server_1803_docker
Vagrant box]. You need the ISO file from your MSDN subscription.vagrant up 1803
.Dockerfile.1803
files.mcr.microsoft.com/windows/nanoserver:1803
and mcr.microsoft.com/windows/servercore:1803
.windows_2019_docker
Vagrant box]. You need the ISO file from your MSDN subscription.vagrant up 2019
.Dockerfile.1809
files.mcr.microsoft.com/windows/nanoserver:1809
and mcr.microsoft.com/windows/servercore:1809
.Porting Dockerfiles from Linux to Windows I found it useful to use PowerShell at some points. Here are some PowerShell tricks that were useful for me.
If you have some improvements, bug fixes, some new Dockerfiles or more PowerShell tricks, just send me a PR. If you have questions or problems, open an issue for discussion.
If you have trouble running Windows Containers you should have a look at https://docs.microsoft.com/virtualization/windowscontainers/troubleshooting
Invoke-WebRequest https://aka.ms/Debug-ContainerHost.ps1 -UseBasicParsing | Invoke-Expression
MIT - for more details see the LICENSE file.