Technology Sharing

Install docker-compose on Linux

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Install

Docker installation

Install docker-compose

GitHub installation

Version query address:github address

Select the version you want to install and modify the version number of the following statement

curl -L https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
Manual Installation

Manual download (various channels such as Baidu)

The blogger has downloaded (versions 1.27.4 and 2.2.2) and uploaded them to the gitee address:Blogger Resource Address

After downloading, upload it to the system /usr/local/bin directory and rename it to docker-compose

Authorization

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

Check the version

docker-compose -version