Skip to content

Container startup order #669

Answered by mizady
Moorsy-AU asked this question in Ask for Help
Nov 17, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Dockge is a front-end for docker, Dockge does not actually start the containers or maintain their state, it only displays information from docker and allows you to send commands to docker.

You can set the depends on of each container to have some control over start-up order. One method you can use but it depends on the containers you're spinning up would be to use a healthcheck by setting a script to run in the container prior to the application starting (that's the part that depends on the container because some may require creating your own docker file to actually run the script prior to application startup). Basically a bash script to check for a healthy status (use wget or curl assumi…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Moorsy-AU
Comment options

@mizady
Comment options

Answer selected by Moorsy-AU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants