I’m running 20 container in my docker, i have some issue if all run at same time, after 5 containers run the rest will be show too many request in each the logs.
how to setup delay 1 minute or more from one container to next container, so next container will run 1 minute more after first container success run.
atm i just do by manual reset the rest container by manual
is it possible do this in portainer?
thanks.
2
Answers
You can use
docker compose
and healthchecks for this purposes:For example:
What is the issue that you face while running all the containers at same time, In my opinion it would be dependency of one container over the other.
To answer your question you may use the docker compose as below to add delays