Azure-docs: image operating system "windows" cannot be used on this platform

Created on 21 Aug 2018  Â·  6Comments  Â·  Source: MicrosoftDocs/azure-docs

Could not build and Windowsservercore based image using acr build.

Error message / details:

image operating system "windows" cannot be used on this platform
Error: failed to run step id: acb_step_0: exit status 1
Build ID: ad1 failed after 40.959416168s

Could you please advise whether windows containers are supported? If not, by when would it be?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author container-registrsvc product-question triaged

Most helpful comment

--os deprecated, so --platform

All 6 comments

Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @EriksonBahr, are you passing the --os parameter in your build command?

--os   : The operating system type required for the build.  Allowed values:
         Linux, Windows.  Default: Linux.

Hi

No, I didn't . I'll give it a try and let you know.

Worked! Thank you very much.

Excellent! @MicahMcKittrick-MSFT we can close this one--thanks.

--os deprecated, so --platform

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulmarshall picture paulmarshall  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments