Norcunas Posted May 14, 2022 Share Posted May 14, 2022 Feature request: as it says: If all (or some) docker are stopped, then a button with start all with autostart enabled would be nice. So you don't have to start all manually or start all and then stopp the undesired. If it's a duplicate, pls. erase. Quote Link to comment
falconexe Posted May 14, 2022 Share Posted May 14, 2022 You can do this by setting the below Extra Parameter on each Docker. Upon array startup, the Docker will now also startup. “--restart=always” Quote Link to comment
Norcunas Posted May 14, 2022 Author Share Posted May 14, 2022 But If I stop all containers with the button, will they restart on their own (i don't want that) Quote Link to comment
Jokerigno Posted June 2, 2022 Share Posted June 2, 2022 (edited) On 5/14/2022 at 11:10 AM, Norcunas said: But If I stop all containers with the button, will they restart on their own (i don't want that) use --restart unless-stopped then Edited June 2, 2022 by Jokerigno Quote Link to comment
KnifeFed Posted September 17, 2023 Share Posted September 17, 2023 I second this feature request. The easiest way to do it currently is by restarting the Docker service, which is far from ideal. Quote Link to comment
Econaut Posted November 10, 2023 Share Posted November 10, 2023 Thirded - it would be awesome if there was a simple way after doing "Stop All" to do "Start All" (which were set to auto start). Quote Link to comment
Kudagra Posted April 8 Share Posted April 8 Does anyone know if it's possible for a script to detect individual docker's "Autostart" setting? If so, you could create a script that only starts all dockers with the setting enabled. Quote Link to comment
Bastian Posted April 9 Share Posted April 9 Since the containers still exist, but are only in the exited status, you can start all of them via docker start $(docker ps -q --filter "status=exited") 11 hours ago, Kudagra said: Does anyone know if it's possible for a script to detect individual docker's "Autostart" setting? If so, you could create a script that only starts all dockers with the setting enabled. For someone with some knowledge in bash that is pretty easy. It is just some text processing. All information are stored in the template in /boot/config/plugins/dockerMan/templates-user. I am doing something similar with description of the shares. 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.