How to run docker-compose in CentOS7&
- User
How to run docker-compose in CentOS7&
- Assistant
To run docker-compose in CentOS7, you can follow these steps:
-
Install Docker and Docker-compose
-
Install Docker on CentOS 7 using the official Docker instructions: https://docs.docker.com/install/linux/docker-ce/centos/
-
Install Docker-compose on CentOS 7 by running the following command in the terminal:
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose -
Set the appropriate permissions to the docker-compose binary:
sudo chmod +x /usr/local/bin/docker-compose
-
-