云原生系列(002)------ linux centos8.2安装docker-compose TODO
作者:互联网
一、简介
- 本文主要介绍docker-compose的安装;
二、安装
2.1 下载jar包
- 最新版本可以通过 https://github.com/docker/compose/releases 来查看,目前最新版本为v2.0.1,下载即可
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
2.2 创建docker-compose目录并上传文件下载的文件并重命名
`
mkdir -p /usr/local/env/docker/docker-compose
cd /usr/local/env/docker/docker-compose
mv docker-compose-linux-x86_64 docker-compose
`
2.3 添加权限
sudo chmod +X /usr/local/env/docker/docker-compose/docker-compose
标签:compose,centos8.2,local,usr,env,linux,docker,TODO 来源: https://www.cnblogs.com/qjwyss/p/15460261.html