Docker for windows general newbie questions

Hi Folks,

I am considering using docker for windows, but I need to access the maturity and features of the project

I have a application that runs only in Windows, so my goal is to create a dockerfile that uses Windows image as the base image.

I have read the documentation on MSDN, but I need further clarification… Can you help me?

1 - Will docker for Windows user the same language/commands? In other words, all the RUN, ENV, COPY, EXPOSE,. docker ps, docker images, etc will be the same in windows?

2 - Will it work in Windows Server 2016 Only? Any plans for windows 7,8,10?

3- Does it support Docker compose?

4-Any advice?

  1. Yup, same instructions! But typically, you write RUN instructions with PowerShell. Here’s an example: https://github.com/docker-library/golang/blob/master/1.7/windows/windowsservercore/Dockerfile

  2. It already works with Windows 10 (Anniversary Edition), but won’t work with older Windows versions

  3. Yup, compose mostly works too - we’re wrapping up some final fixes.

1 Like

What about docker swarm for windows?

Classic swarm-client works on Windows, but we’re still working with Microsoft on the new Docker 1.12 swarm-mode feature.