GithubHelp home page GithubHelp logo

Exec job in stopped container about ofelia HOT 4 OPEN

mcuadros avatar mcuadros commented on September 27, 2024 1
Exec job in stopped container

from ofelia.

Comments (4)

JPustkuchen avatar JPustkuchen commented on September 27, 2024 2

Is there any solution to this problem yet? How can we start a stoppend container in ofelia?

from ofelia.

JPustkuchen avatar JPustkuchen commented on September 27, 2024 1

I have a similar feature request. We're using a container that has to be startet, executes a scripts and stops then hourly. We don't even need to execute a command, but of course we could do some fake stuff... so I can +1 on the request here.

If my case is typical, you could even add a job type (and documentation) for starting a stopped container regularly.

Thank you very much for this great tool!!

from ofelia.

JPustkuchen avatar JPustkuchen commented on September 27, 2024 1

Just FYI: The issue still exists 5Y later :(

from ofelia.

AlekKras avatar AlekKras commented on September 27, 2024

I think that the best thing to do is to have keepalive check or health check. If it ouputs that the container isn't running, then you start it. It's pretty much one if-else statement.

from ofelia.

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.