系统相关
首页 > 系统相关> > 云原生系列(002)------ linux centos8.2安装docker-compose TODO

云原生系列(002)------ linux centos8.2安装docker-compose TODO

作者:互联网

一、简介

二、安装

2.1 下载jar包

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