How to build Windows image?

Hi there,

I setup a github repo to auto build on docker hub based on a windows server core image, yet I got message like this:

“Building in Docker Cloud’s infrastructure…
Starting to clone
Cloning into ‘.’…
Cloning done
Starting Build
KernelVersion: 4.4.0-21-generic
Os: linux
BuildTime: 2016-04-26T23:43:49.174056600+00:00
ApiVersion: 1.23
Version: 1.11.1
GitCommit: 5604cbe
Arch: amd64
GoVersion: go1.5.4
Starting build of index.docker.io/coderobin/windows-sdk-10.1:latest
Step 1 : FROM windowsservercore
Error: image library/windowsservercore not found

So how do I tell docker hub this is a windows build, not a Linux one?

Best regards,

Dong

2 Likes

I’m not sure if Docker Hub can build Windows images, yet.

Also, it should be FROM microsoft/windowsservercore

@willseward Thanks for the feedback. Automated build support for Windows images is on our roadmap and will be addressed in 2017.

Automated build support for Windows images is done? if not when we can except the release?

1 Like