How can I restart docker containers in custom order when the server restarts?
Hi guys, so I'm trying to start all my docker containers if my server restarts, I have around 30 containers, I've read about using
docker update --restart unless-stopped <container>
but the problem is that 7 containers uses a lot of RAM when compiling, so if the server restarts and all container start at the same time my server is going to crash because it is out of RAM, so I need to start one container, wait until it is completely ready (because here RAM is free again) and start the other container...
I've read about dockerize but I'm not sure how to use it. Any ideas?
Thanks in advance and sorry for my english.