Giter Site home page Giter Site logo

Comments (3)

PeterKottas avatar PeterKottas commented on July 30, 2024

Hi @shawnmclean thanks for giving this lib a go :) I must admit I didn't try it on docker so far although it's a high priority for the future. I should be able to look into this during the weekend. Windows services are quite difficult concept and I know historically it didn't work with docker too much. But now with windows containers ... things might have changed. I'll let you know when I find out more and in the meantime, any effort to solve this yourself would be much appreciated.

from dotnetcore.windowsservice.

dasMulli avatar dasMulli commented on July 30, 2024

As long as there are calls to any windows service API, a PlatformNotSupportedException is expected on linux-based docker images. You could try the microsoft/dotnet:1.1-runtime-nanoserver images.
However, if you build a docker image from .net core apps, you should be fine with just a console app that is set as the container's entry point (or an image's entry point if you publish it).

from dotnetcore.windowsservice.

PeterKottas avatar PeterKottas commented on July 30, 2024

Thanks mate certainly helpful. Especially the last part. I think that's enough for closing this as there doesn't seem to be a point of having this if you can run console app directly.

from dotnetcore.windowsservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.