无法在Docker Hub中建立Windows映像

时间:2019-03-05 14:50:59

标签: docker

我正在尝试在docker hub中自动构建映像(windows),但由于以下错误而失败

Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address 'xxxxxxxxxxx' 
to the list of known hosts.
Reset branch 'master'
Your branch is up-to-date with 'origin/master'.
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': 
{u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018- 
08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': 
u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': 
u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/cn1docker/powershellreminder:latest...
Step 1/4 : FROM microsoft/windowsservercore
image operating system "windows" cannot be used on this platform

我已将docker文件放置在我的Github帐户中,并尝试在发生任何新的推送时自动进行构建。