Can I use a Windows .Net app with Docker?

后端 未结 6 1061
小鲜肉
小鲜肉 2021-01-01 11:43

I\'m a little confused by all the chat about Docker, and how it fits into the virtualisation world. So here\'s a straight question: can I package up a .Net application (that

6条回答
  •  离开以前
    2021-01-01 12:08

    Yes, if you install wine and .NET, here is an example of such a Dockerfile

    https://registry.hub.docker.com/u/justmoon/wix/dockerfile/

    extract

    # Install .NET Framework 4.0
    

    RUN wine wineboot && xvfb-run winetricks --unattended dotnet40 corefonts

提交回复
热议问题