A
A
Alexander Wolf2017-03-28 02:00:30
Node.js
Alexander Wolf, 2017-03-28 02:00:30

How to manage docker container status?

Good afternoon! I'm digging docker and a question arose that the documentation could not answer: how can I keep the status running instead of up? My application starts within 30 seconds and is not running during this time. However, swarm considers that it is fully operational and starts updating the next node. How to stop this and wait for the time when the application starts?
PS: nodejs, healthcheck is registered.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Wolf, 2017-03-28
@mannaro

Docker update helped.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question