19 hours ago19 hr I hadn't rebooted in 5 months, so without changing any settings I did today. Ever since then Docker has been really slow to start up. I have about 40 containers and it takes 20 minutes to load them all. This is new behaviour. Previously everything was started in 3-5 minutes. After having watched it load all the containers, it looks like Docker starts every container one by one, instead of all at the same time.Is this new? Can I change this back to it's previous setting somehow? I can speed it up by manually starting the containers, but that's tedious work.Things I've tried:Updating from 7.3.0 to 7.3.3Updating all the pluginsBooting with Docker off, and manually starting it.
18 hours ago18 hr Community Expert Docker appears to be working normally to me. Each container starts in about a second, but several of them have an autostart wait set:- 120 seconds: Czkawka, OpenSpeedTest, DiskSpeed, qdirstat and ollama- 60 seconds: karakeep, pgadmin4, RedisInsight, heimdall and Norish- 30 seconds: tautulliWhen a container has a wait, Unraid waits that many seconds before starting the next container in the list. Those waits add up to about 15.5 minutes, and that is almost all of the time it takes. Autostart has always started containers one at a time in the order shown. The waits are meant for containers that others depend on, for example a database that must be up before the app that uses it. With no waits, 40 containers start in under a minute. My guess is that these waits were added since your last reboot 5 months ago, so this was the first boot where they were used.To fix it, go to the Docker page and switch to Advanced View. In the autostart column, clear the wait value (or set it to 0) for every container that nothing else needs to wait for. If an app does need its database or Redis first, put the database above the app in the autostart order and give it a short wait, like 10 to 15 seconds. That should bring startup back to a minute or two.
15 hours ago15 hr Author Ok so if I understand you correctly, if I set one container to 120s wait, all the containers below it also wait 120s?
14 hours ago14 hr 1 hour ago, BreakfastPurrito said:Ok so if I understand you correctly, if I set one container to 120s wait, all the containers below it also wait 120s?Yes
13 hours ago13 hr Author Dear lord. I assumed that all containers started at the same time, and that the timers ran consecutively. Does that mean that the order in which they appear from top to bottom on the Docker page is also the order in which they start?
13 hours ago13 hr 3 minutes ago, BreakfastPurrito said:Dear lord. I assumed that all containers started at the same time, and that the timers ran consecutively.Does that mean that the order in which they appear from top to bottom on the Docker page is also the order in which they start?Yes
13 hours ago13 hr You can reorder them by clicking the green padlock and dragging them to the desired position.
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.