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. 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.

  2. Ilya Finkelshteyn closed this discussion on 22 Oct, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

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