docker-compose very slow

In case docker-compose is very (very) slow, and if you run it on a virtual machine, check the entropy

cat /proc/sys/kernel/random/entropy_avail

If it is under 100 probably this is the problem.
One possible solution is to install an entropy daemon, like haveged

apt install -y haveged

I had this problem on a VM running at Scaleway.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.