sid Posted August 1, 2019 Share Posted August 1, 2019 I am unable to get container dependency working - as in one container depends on and should start after another container is running. e.g. My Home-assistant container depends on my maria-db container but I am unable to get them starting one after the other. In advanced view of docker containers, I have tried setting wait period for home-assistant to 100 - didn't work, then I tried setting wait period of maria-db to 100 and that of home-assistant to 300 - still the home-assistant container starts before the maria-db container. I am unsure how to solve this issue. Quote Link to comment
Squid Posted August 1, 2019 Share Posted August 1, 2019 Rearrange the start order by dragging the container row up or downSent from my phone as I'm probably having a beer and enjoying a fire Quote Link to comment
itimpi Posted August 1, 2019 Share Posted August 1, 2019 (edited) Containers are started in the order they are listed. If you set a wait period on a container then the system waits for that length of time after starting the container before starting the next one. Edited August 2, 2019 by itimpi Quote Link to comment
sid Posted August 2, 2019 Author Share Posted August 2, 2019 Right ! Great to know. Will give it a try. Thanks Quote Link to comment
Recommended Posts
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.