How to ensure container startup order


tuxbass

Recommended Posts

  • 3 years later...
  • 2 weeks later...
  • 2 weeks later...
On 10/15/2020 at 9:29 PM, phil1c said:

Does the shutdown order work in reverse of the startup order?  As in, if I set dockers to start up in the order "1 -> 2 -> 3", does it shut them down in the order "3 -> 2 -> 1"?

Apparently not, because when I stop a particular container I see an error message due to a missing database connection, which is always started before that. So the shutdown uses the same order which makes no sense for me.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.