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.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top