How can we help you today?

Install Docker Compose on CentOS 7

Ensure that curl is installed:

yum install curl -y

Pull the binary from docker:

sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Make the binary executable:

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

Test the binary by pulling through the compose version:

docker-compose --version

You should see something like the following:

[root@test ~]# docker-compose --version
docker-compose version 1.23.1, build b02f1306
[root@test ~]#

Installation complete!

Leave a Reply

Your email address will not be published. Required fields are marked *

    ICTU LTD is a company registered England and Wales (Company No. 09344913) 142 Thornes Lane, Wakefield, England, WF2 7RE
    Copyright © 2025 ICTU LTD, All Rights Reserved.