#How to deploy windows docker image with railway?

9 messages · Page 1 of 1 (latest)

ornate walrus
#

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

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?

polar nova
#

@rain void 🙂

rain void
#

Unfortunately, you will not be able to run a windows based docker container on Railway. Docker runs on the Kernel of the operating system. Since Railway is built on Linux systems, your containers must be a Linux based container. In order to run a windows container, you must be running it on a windows based machine

ornate walrus
#

Appreciate the quick response. Do you know if there are any plans to add support for Windows later?

rain void
#

Not that has been mentioned. So, probably not. Microsoft licensing is ridiculous especially in the server environments

ornate walrus
#

Do you know what the best railway like service would be that has support for Windows?

rain void
#

Unfortunately, you would have to use a cloud provider directly, like AWS, Azure, or GCP.... I don't know many platforms that are willing to utilize Windows for Docker hosts

ornate walrus
#

thanks

outer haloBOT