linux安装docker-compose

前言

Linux服务器上安装docker-compose
1.官网地址
docker-compose
安装docker-compse前服务器上必须先安装好docker,docker安装步骤
2.docker-compse安装步骤

 #(官网安装地址,较慢,可以执行下面国内地址)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
#1.国内加速安装
curl -L https://get.daocloud.io/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
#2.Apply executable permissions to the binary
sudo chmod +x /usr/local/bin/docker-compose
#3.Test the installation.
docker-compose --version

安装步骤截图
实际安装步骤图

你可能感兴趣的:(docker-compose,docker,容器)