Various Dockerfiles for Windows. You probably have heard about Docker and that everyone uses Linux Containers. You can do this on Windows as well today with the Windows Server 2016 TP4 using Windows Containers.
- Register to evaluate Windows Server 2016 TP4.
- Get a Windows Server 2016 TP4 Virtual Machine
- Packer and Vagrant
- Use Packer with this packer-windows templates to build the
windows_2016_docker
Vagrant box. - Use Vagrant and this docker-windows-box Vagrantfile to have Docker and lots of Docker Tools installed.
- Use Packer with this packer-windows templates to build the
- Azure
- Deploy TP4 VM to Azure with
docker-windows-azure
template - Create a Windows Server 2016 Core with Containers TP4 Virtual Machine
- Deploy TP4 VM to Azure with
- Physical Machine / Virtual Machine
- Read Preparing a physical machine or an existing virtual machine for Windows Server Containers to install Docker into Windows 2016 TP4.
- Packer and Vagrant
- Clone this repo and create some Docker images
- Read the Quick Start: Windows Server Containers and Docker to get started with a first tutorial.
- Read my blog post Create a Node.js Container image for Windows for my first test drive with Docker on Windows.
- Image what will happen when Kitematic meets Windows Containers.
- More Dockerfiles for Windows: Buc Rogers: Dockerfiles-for-Windows
- Windows Server Containers Examples: https://github.com/Microsoft/Virtualization-Documentation/tree/master/windows-server-container-samples
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.
MIT - for more details see the LICENSE file.