auanasgheps / snapraid-aio-script

The definitive all-in-one SnapRAID script on Linux. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
GNU General Public License v3.0
231 stars 37 forks source link

How to stop all containers or stop docker? #26

Closed nzlov closed 2 years ago

nzlov commented 2 years ago

Thanks for providing such a great script.

How to stop all containers or stop docker?

auanasgheps commented 2 years ago

Hi, the script will stop containers written in the config SERVICES= There is no direct implementation to stop all containers. I would have to implement it. It should be fairly easy, but I don't know when I'll be able to do it.

nzlov commented 2 years ago

Maybe add a hook method?Custom pause and resume command set.

auanasgheps commented 2 years ago

What do you mean?

I was thinking about a new config variable that when set would trigger the "all" pause/stop approach.

nzlov commented 2 years ago

Please forgive me for using Google Translate. Like #27 .

auanasgheps commented 2 years ago

If your language is supported, try DeepL because has more natural language

Regarding #27, it's great! I wanted to implement custom commands before and after the script.

However I will also integrate a full docker stop/pause way.