How to install docker-compose in Centos -7.6
Date Posted : 21/12/2018
How to install docker-compose in Centos -7.6
Docker is a most handy DevOps tool used nowadays. In this post we are gonna explain about docker-composer installation steps.
Prerequisites
We assume that Docker is already installed on your server. For instance, you can verify the docker version by running below command.
# docker --version
Docker version 18.06.1-ce, build e68fc7a
OS requirements
CentOS 7.6
Install docker-compose
You need to download composer binary from docker github page. After that change the permission to executable.
# sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# sudo chmod +x /usr/local/bin/docker-compose
Therefore, You can verify the version by running below command
# docker-compose --version
docker-compose version 1.23.1, build b02f1306
Tats it. We’re done.