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
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?
Solution:Jump to solution
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
7 Replies
@Vin 🙂
Solution
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
Appreciate the quick response. Do you know if there are any plans to add support for Windows later?
Not that has been mentioned. So, probably not. Microsoft licensing is ridiculous especially in the server environments
Do you know what the best railway like service would be that has support for Windows?
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
thanks