0

I have the following challenge.

After switching from PHP to C#, a project has been created that currently requires an IIS. This is started from Visual Studio and runs on a localhost.

I would like to do this with dockr and if I googled it right, it is possible with a windows container. However, I only have a Linux system with docker and there is no way there will be anything else. Docker-Desktop is available, but I don't want to use it, because other employees should be able to access the system.

So is it possible to get an IIS running in a docker-linux, and if so how would that look like.

Of course I would prefer to be able to work with docker-compose.

Any ideas?

  • 1
    What is a docker-mothership? – ProgrammingLlama Jan 21 '21 at 09:27
  • A Linux-System where docker is installed, and the containers should run. – George Mulhonay Jan 21 '21 at 09:30
  • 1
    Does this help - https://stackoverflow.com/questions/42158596/can-windows-containers-be-hosted-on-linux#:~:text=No%2C%20you%20cannot%20run%20windows,can%20run%20Linux%20on%20Windows.&text=You%20can%20change%20between%20OS,the%20docker%20in%20tray%20menu.&text=Containers%20use%20the%20OS%20kernel. – Raman Sailopal Jan 21 '21 at 09:33
  • 2
    Can you use Kestrel instead of IIS? – mjwills Jan 21 '21 at 09:41
  • There is no linux version of IIS and you can't run windows container on linux, but there is no strong dependecy on IIS, so you can use any other proxy you want – vasily.sib Jan 21 '21 at 09:42
  • Kestrel seems to be very promising ... i will have a deeper look in that. – George Mulhonay Jan 21 '21 at 10:50
  • you can't run a windows-docker-container on linux. you can't run IIS on linux. ergo: no. – Franz Gleichmann Jan 21 '21 at 11:21
  • 1
    "a project has been created that currently requires an IIS", what kind of project? Like the other comment indicates, if your project is ASP.NET Core based, Kestrel is there already and can go cross platform without IIS. – Lex Li Jan 21 '21 at 16:08

0 Answers0