I am starting 45 services in Docker Swarm mode across two Ubuntu 16.04 LTS VMs. Each service is using a different Docker image. When I perform a 'stack deploy' based on a compose file, all 45 services attempt to start at once. This, in turn, has a negative effect on the servers and it appears that the majority of effort is around the download and extraction of the Docker images.
Increasing the speed of the disks (SSDs etc) would probably be of benefit here but, assuming hardware changes are not an option, what would be the best approach to starting these services without nuking the VMs?
Many thanks in advance for any advice.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.