Yipy
Yipy
RRailway
Created by Yipy on 1/5/2024 in #✋|help
How to deploy windows docker image with railway?
first line in dockerfile FROM mcr.microsoft.com/windows/servercore:ltsc2019 build logs where the error happens
#3 [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019
#3 ERROR: no match for platform in manifest sha256:56c5fe9f320b41a873f73ce5d019a9650dce2e10cb27b234d425418bef9310dd: not found
-----

> [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019:

-----
Dockerfile:4
-------------------
2 |
3 | # Use the latest Windows Server Core 2019 image.
4 | >>> FROM mcr.microsoft.com/windows/servercore:ltsc2019
6 | # Restore the default Windows shell for correct batch processing.
-------------------

ERROR: failed to solve: mcr.microsoft.com/windows/servercore:ltsc2019: no match for platform in manifest sha256:56c5fe9f320b41a873f73ce5d019a9650dce2e10cb27b234d425418bef9310dd: not found
#3 [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019
#3 ERROR: no match for platform in manifest sha256:56c5fe9f320b41a873f73ce5d019a9650dce2e10cb27b234d425418bef9310dd: not found
-----

> [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019:

-----
Dockerfile:4
-------------------
2 |
3 | # Use the latest Windows Server Core 2019 image.
4 | >>> FROM mcr.microsoft.com/windows/servercore:ltsc2019
6 | # Restore the default Windows shell for correct batch processing.
-------------------

ERROR: failed to solve: mcr.microsoft.com/windows/servercore:ltsc2019: no match for platform in manifest sha256:56c5fe9f320b41a873f73ce5d019a9650dce2e10cb27b234d425418bef9310dd: not found
think its because it's because its running in a Linux container and it needs to run in an windows container. How can I do this on railway?
9 replies