Installing extension sources

sudo yum -y install epel-release

Copy the code

Install the python-pip module

sudo yum install python-pip

Copy the code

Check docker-compose version and prompt command not found

docker-compose version

Copy the code

Install by using commands

cd /usr/local/bin/

Wget HTTP: / / https://github.com/docker/compose/releases/download/1.14.0-rc2/docker-compose-Linux-x86_64

rename docker-compose-Linux-x86_64 docker-compose docker-compose-Linux-x86_64

chmod +x /usr/local/bin/docker-compose

Copy the code

Docker-compose version command to view the docker-compose version