Building a Linux container on Windows

Anton Kirilenko's Avatar

Anton Kirilenko

20 Aug, 2019 10:08 AM

Hello.

I'm trying to build a Linux container on Windows, and got some problems.
First, I've asked your support to add "Windows Server 2019" image to my account. That's done.
Now I specify `image: Windows Server 2019` in the config, it works.

Then I had issues with OpenSSL missing. Fixed it by adding install commands:

  - ps: Start-FileDownload 'http://slproweb.com/download/Win64OpenSSL-1_1_1c.exe'
  - ps: Start-Process "Win64OpenSSL-1_1_1c.exe" -ArgumentList "/silent /verysilent /sp- /suppressmsgboxes" -Wait

And still the `docker build` command fails:

Step 1/34 : FROM python:3.6-stretch
      3.6-stretch: Pulling from library/python
      <...>
      no matching manifest for unknown in the manifest list entries

Any ideas what is missing?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 22 Aug, 2019 08:19 PM

    Ilya Finkelshteyn's Avatar

    Hi Anton,

    Please check demo build describing how to use this image. My guess is that Switch-DockerLinux was not called. If this does not help send us link to the build (feel free to change this discussion to private).

    Ilya.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac