Resolving docker-compose: line 1: Not: command not found error
Most probably you have used the curl command from the official docker-compose installation page. The problem is that the release you are trying to download with curl command is not available for your kernel and machine hardware. Execute:
to check your kernel name, and
to check your machine hardware name.
Check if a release is available at the official docker-compose releases download page.
Resolving a hanging docker-compose issue
In CentOS 7 with docker-compose of version 1.29.2 installed, there may be an issue of docker-compose hanging on
docker-compose up command.
The problem may be caused by the low amount of available entropy. In order to check the amount of available entropy in your system, execute:
If the value is smaller than 1000, the amount of available entropy should be increased by taking these steps:
sudo yum -y install epel-release
sudo yum -y install haveged
- Enable and start
sudo systemctl enable --now haveged
If you check the amount of available entropy now, you can see that it has increased.
Check additional information about using
haveged on virtual machines here.