Help with Windows Worker running Docker Containers

Our developers are trying to run a docker image on dedicated windows workers for a publishing step that requires Windows executables to publish.

We are getting the error:
image operating system “windows” cannot be used on this platform

This comes at the end of the fs layers being pulled.

I imagine that is due to the docker image not being supported, but I don’t know what the runtime of windows workers is and the documentation is…lacking.

This is the dockerfile.

{
  "schemaVersion" : 1,
  "name" : "rpa/pipeline",
  "tag" : "latest",
  "architecture" : "amd64",
  "fsLayers" : [ {
    "blobSum" : "sha256:faffe447cc4891e61136c1ec7174cb995b3f4e8f1650e367aacbd040590c0b74"
  }, {
    "blobSum" : "sha256:a3b45e2ec4851365d91ea067be947010b1c577f589a70e331d4140c215a006ed"
  }, {
    "blobSum" : "sha256:9780d049e1e3b3d6bb304fd2c436eda80bba0f31ad4a9e0875f7615afb282e5e"
  }, {
    "blobSum" : "sha256:9d3fc24506996b10f79ad7b46a10be49a34e98e8e66701d31a1a342d9dcda260"
  }, {
    "blobSum" : "sha256:fc09fad482faa4a761f6a0e7e709a1d3096f93e17c2a786ecee068ac4b46963e"
  }, {
    "blobSum" : "sha256:d1b8f6e53ba6ad92b2d0080fc8d0d3053aaa91a8d6b3c2498a7b3d162ef8da29"
  }, {
    "blobSum" : "sha256:336debbe285168f4bb6833c008aeb530ca6795ad33656fe8f3dc209033773506"
  }, {
    "blobSum" : "sha256:f0df1e9621dc9b4f80e1e842220464752ae1d800d54f1109e071c731ed7e089c"
  }, {
    "blobSum" : "sha256:24985a7b0de1a3f16c1129b42bb26d0dbfdda2bd6b7f7efb77a52ca8e429a621"
  }, {
    "blobSum" : "sha256:cf80b95a905b6aa31db574ec87d926449c76d9162dc0a3e21fea292d610c1052"
  }, {
    "blobSum" : "sha256:7ccc34fe98f9337f3c6e254e2b409777418f4215884c67bdbd4658ffca13263c"
  }, {
    "blobSum" : "sha256:2945147eda092f9cfd1a29432bf0eb9083becd4042b44ccc556762bcbc0c279b"
  }, {
    "blobSum" : "sha256:65014b3c312172f10bd6701a063f9b5aaf9a916c2d2cb843d406a6f77ded3f8d"
  } ],
  "history" : [ {
    "v1Compatibility" : "{\"created\":\"2019-10-22T20:29:49.4232748Z\",\"docker_version\":\"19.03.2\",\"architecture\":\"amd64\",\"config\":{\"Hostname\":\"\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":null,\"Image\":\"sha256:73d2849773a7f433ca30dd5a47d0bf8f6fe41881d7e6c4be07027e962570d9d3\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":[\"powershell.exe\",\"C:\\\\UiPath\\\\deployPackage.ps1\"],\"OnBuild\":null,\"Labels\":null},\"container\":\"54b69639cb252d99da649420806becfa038d3f08593c6880dab1f193c86c03b2\",\"os\":\"windows\",\"container_config\":{\"Hostname\":\"54b69639cb25\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":null,\"Cmd\":[\"cmd\",\"/S\",\"/C\",\"#(nop) \",\"ENTRYPOINT [\\\"powershell.exe\\\" \\\"C:\\\\\\\\UiPath\\\\\\\\deployPackage.ps1\\\"]\"],\"Image\":\"sha256:73d2849773a7f433ca30dd5a47d0bf8f6fe41881d7e6c4be07027e962570d9d3\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":[\"powershell.exe\",\"C:\\\\UiPath\\\\deployPackage.ps1\"],\"OnBuild\":null,\"Labels\":{}},\"id\":\"1cf5fd7c84d9f06af4ebc0c9948ecd88c63f77a41275a67a17d2206b952554ed\",\"parent\":\"19775e5c080208e2795f0f896f59de27164216ffe538a343e7dfc44f3c65a959\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"19775e5c080208e2795f0f896f59de27164216ffe538a343e7dfc44f3c65a959\",\"created\":\"2019-10-22T20:29:48.3414491Z\",\"Cmd\":{\"container_config\":\"cmd /S /C #(nop) COPY file:55d032027f7514309f2efde090be816450fb073153bedfefc42ae7e725074fd2 in \\\\UiPath\\\\promotePackage.ps1 \"},\"parent\":\"76fb6269f59785ef6684b2fed0d78b418f36d4bbae08b18995910323bfc9ac49\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"76fb6269f59785ef6684b2fed0d78b418f36d4bbae08b18995910323bfc9ac49\",\"created\":\"2019-10-10T02:04:27.6863293Z\",\"Cmd\":{\"container_config\":\"cmd /S /C #(nop) COPY file:c623debcdd7d12704b4cdfa3b0a4f7bb3ca6d88e21f2998034d130627f8135ba in \\\\UiPath\\\\deployPackage.ps1 \"},\"parent\":\"963f6616e03e4b08cb6fe127e9ec1b6a940c07bcc8970d1f2c8d8261f522e72a\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"963f6616e03e4b08cb6fe127e9ec1b6a940c07bcc8970d1f2c8d8261f522e72a\",\"created\":\"2019-09-26T11:04:04.2185758Z\",\"Cmd\":{\"container_config\":\"cmd /S /C powershell -Command Import-Certificate -FilePath c:\\\\Root-GAIG-CA.cer -CertStoreLocation Cert:\\\\LocalMachine\\\\Root\"},\"parent\":\"218836caaf850dd436b97e4e707808f51646adffebd6665ba1c5727c60ec7275\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"218836caaf850dd436b97e4e707808f51646adffebd6665ba1c5727c60ec7275\",\"created\":\"2019-09-26T11:03:55.9926336Z\",\"Cmd\":{\"container_config\":\"cmd /S /C #(nop) COPY file:bb85f0084d97c6d7c5eca929cf566c83757ac90dc7ae2becc1a3903eb1d44597 in \\\\ \"},\"parent\":\"e2d7a94b6cc3294a629cc5e67330ccecc5d941045068d3a4facd1ac684c13d02\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"e2d7a94b6cc3294a629cc5e67330ccecc5d941045068d3a4facd1ac684c13d02\",\"created\":\"2019-09-26T01:01:58.4146493Z\",\"Cmd\":{\"container_config\":\"cmd /S /C powershell -Command \\tInstall-PackageProvider -Name NuGet -Force; \\tRegister-PSRepository -Name UiPath -SourceLocation https://www.myget.org/F/uipath-dev/api/v2; \\tInstall-Module -Repository UiPath -Name UiPath.Powershell -Force; \\tImport-Module UiPath.PowerShell\"},\"parent\":\"ab39c04d983361e6c83e28b71956790341cba45fdac382e0b06df6d92f0d9de3\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"ab39c04d983361e6c83e28b71956790341cba45fdac382e0b06df6d92f0d9de3\",\"created\":\"2019-09-25T15:44:54.9160002Z\",\"Cmd\":{\"container_config\":\"cmd /S /C powershell -NoProfile -NonInteractive -File c:\\\\uipath\\\\installRobot.ps1\"},\"parent\":\"4fb9f3dd14830e2c2e7bba6cd496e45f7d755809e7d49f8a4738553d22f27291\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"4fb9f3dd14830e2c2e7bba6cd496e45f7d755809e7d49f8a4738553d22f27291\",\"created\":\"2019-09-25T15:43:36.9753525Z\",\"Cmd\":{\"container_config\":\"cmd /S /C #(nop) COPY file:9790411266247e03d05b3b821577ead67475dbf025725f8b1332da42a1ac8011 in \\\\UiPath\\\\installRobot.ps1 \"},\"parent\":\"ed25747f83f1e7c2eec46e056da28f00ea7e870207c4228a778081a5880d90ec\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"ed25747f83f1e7c2eec46e056da28f00ea7e870207c4228a778081a5880d90ec\",\"created\":\"2019-09-24T19:15:47.7949005Z\",\"Cmd\":{\"container_config\":\"cmd /S /C #(nop) COPY file:49c6c555d2ba9cb22dfd4dc2a7ee9e0ed8b845117a32bcfd4b09bbeac910ea24 in \\\\UiPath\\\\UiPathStudio.msi \"},\"parent\":\"7ed640f60eb9db0d3620c09f1de3fc4da7b0faa2b706a001b24c3fd0bdac747c\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"7ed640f60eb9db0d3620c09f1de3fc4da7b0faa2b706a001b24c3fd0bdac747c\",\"created\":\"2019-09-24T19:15:44.4055706Z\",\"Cmd\":{\"container_config\":\"cmd /S /C setx path \\\"%path%;c:\\\\MinGit\\\\cmd\\\\;c:\\\\MinGit\\\\cmd\\\"\"},\"parent\":\"de58a175adbc216c8357fbf44b061dd472f7d422889f16b7f9ce65ffbdacb0b3\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"de58a175adbc216c8357fbf44b061dd472f7d422889f16b7f9ce65ffbdacb0b3\",\"created\":\"2019-09-24T18:34:24.8125512Z\",\"Cmd\":{\"container_config\":\"cmd /S /C powershell -Command \\tInvoke-WebRequest 'https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/MinGit-2.23.0-64-bit.zip' -OutFile c:\\\\MinGit.zip; \\tExpand-Archive c:\\\\MinGit.zip -DestinationPath c:\\\\MinGit;\"},\"parent\":\"f234d6ade85fb198fd1800dc8313d26c0044536d33ce0577346dbd76326a73bf\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"f234d6ade85fb198fd1800dc8313d26c0044536d33ce0577346dbd76326a73bf\",\"created\":\"2019-09-09T20:03:27.2028289Z\",\"Cmd\":{\"container_config\":\"Install update ltsc2019-amd64\"},\"parent\":\"ad1feacec4b6d89354251439e301670dd16475658dff1dbdfad5c428642dfd87\"}"
  }, {
    "v1Compatibility" : "{\"id\":\"ad1feacec4b6d89354251439e301670dd16475658dff1dbdfad5c428642dfd87\",\"created\":\"2018-09-15T09:10:26.528Z\",\"Cmd\":{\"container_config\":\"Apply image 1809-RTM-amd64\"}}"
  } ]
}

Hey @gaigaslab-operations
Currently, Concourse doesn’t support running containerized workloads on Windows, so unfortunately this will not work.

However, if the binaries are available on the Windows VM that is being used as the worker, they should be available for a task to leverage. Is this a suitable flow for you ?

Good news is that we’re looking into supporting containerized workloads on Windows in the future, so stay tuned.

Thank you. We’ll download the binaries as part of the task.